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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user