Remove file relativeTo handler to let that happen on a per-route basis
This commit is contained in:
parent
d4ef5df468
commit
d23fa669e0
1 changed files with 0 additions and 3 deletions
|
|
@ -32,9 +32,6 @@ async function init() {
|
||||||
const server = new Server({
|
const server = new Server({
|
||||||
port: config.server.port,
|
port: config.server.port,
|
||||||
routes: {
|
routes: {
|
||||||
files: {
|
|
||||||
relativeTo: path.join(__dirname, `../site`),
|
|
||||||
},
|
|
||||||
cors: true,
|
cors: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue