Restrict static server to app_path s
This commit is contained in:
@@ -53,7 +53,7 @@ export default class StaticServer extends Middleware {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected resolve(asset_dir: string, rel_file: string): UniversalPath {
|
protected resolve(asset_dir: string, rel_file: string): UniversalPath {
|
||||||
return this.app.path(asset_dir, rel_file)
|
return this.app.app_path(asset_dir, rel_file)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user