fixxed js integration in html template
This commit is contained in:
parent
e2033874dd
commit
acb4622f56
@ -19,6 +19,6 @@
|
||||
<h2>Collapsed Sidebar</h2>
|
||||
<p>Content...</p>
|
||||
</div>
|
||||
<script src="/scripts/example.js"></script>
|
||||
<script src="example.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -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');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user