mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
change: Use @css: instead of $PACKAGE_ROOT/
This makes usage from the command line easier, since $ is typically used to mark variables.
This commit is contained in:
@@ -14,7 +14,7 @@ import type { HttpRequest } from '../HttpRequest';
|
||||
/**
|
||||
* Handler that serves static resources on specific paths.
|
||||
* Relative file paths are assumed to be relative to cwd.
|
||||
* Relative file paths can be preceded by $PACKAGE_ROOT/, e.g. $PACKAGE_ROOT/foo/bar,
|
||||
* Relative file paths can be preceded by `@css:`, e.g. `@css:foo/bar`,
|
||||
* in case they need to be relative to the module root.
|
||||
*/
|
||||
export class StaticAssetHandler extends HttpHandler {
|
||||
|
||||
Reference in New Issue
Block a user