From acb4622f560d00facd67e3a9fb5ef09f2b3f96ca Mon Sep 17 00:00:00 2001 From: florianspengler Date: Fri, 15 Nov 2024 10:13:45 +0100 Subject: [PATCH] fixxed js integration in html template --- public/example/index.html | 2 +- server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/example/index.html b/public/example/index.html index 76a2d64..92748d6 100644 --- a/public/example/index.html +++ b/public/example/index.html @@ -19,6 +19,6 @@

Collapsed Sidebar

Content...

- + \ No newline at end of file diff --git a/server.js b/server.js index 2f52214..05079f0 100644 --- a/server.js +++ b/server.js @@ -15,8 +15,8 @@ app.use(session({ app.use(express.json()); app.use(express.urlencoded({ extended: true })); -app.use(express.static(path.join(__dirname, 'static'))); app.use(express.static(path.join(__dirname, '/scripts'))); +app.use(express.static(path.join(__dirname, '/static'))); const getIndexRoute = require('./scripts/routes/other/route-index');