Restrict static server to app_path s
This commit is contained in:
parent
e2efc6f39f
commit
34863a26a7
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user