mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Readded classes.js as file, modified files to work with new path
This commit is contained in:
parent
f23a116b42
commit
b73d764b82
7 changed files with 517 additions and 11 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 48d531ca1d2d6b48b508879ea4ef2e968feb0eb7
|
||||
Subproject commit 0ba12f4d67f2bfb5ba2553f32dec5a2b439960fb
|
|
@ -1 +1 @@
|
|||
Subproject commit a2644bfb91f5d512ef36ddf5d1ce77f7c35c64a4
|
||||
Subproject commit f6a6b4e452cddb6150003776113b332026d4354e
|
|
@ -152,7 +152,8 @@ app.get('/*', function (req, res) {
|
|||
logger.LogReq(req)
|
||||
|
||||
try {
|
||||
if (fs.lstatSync(curr).isDirectory()) {
|
||||
const stat = fs.lstatSync(curr)
|
||||
if (stat.isDirectory() || stat.isSymbolicLink()) {
|
||||
if (curr[curr.length - 1] !== '/') { curr += '/' }
|
||||
|
||||
let f = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue