✏️ path.resolving the path from host OS root to the folder
This commit is contained in:
@@ -56,11 +56,11 @@ export default class ApiService extends Service {
|
||||
},
|
||||
{
|
||||
path: "/userdata",
|
||||
use: [ApiGateway.serveStatic("/userdata")],
|
||||
use: [ApiGateway.serveStatic(path.resolve("/userdata"))],
|
||||
},
|
||||
{
|
||||
path: "/comics",
|
||||
use: [ApiGateway.serveStatic("/comics")],
|
||||
use: [ApiGateway.serveStatic(path.resolve("/comics"))],
|
||||
},
|
||||
{
|
||||
path: "/logs",
|
||||
|
||||
Reference in New Issue
Block a user