Are node static resources routed?

I statically hosted my background management page (admin) on node

localhost:3000/admin.html

admin
node
admin

Mar.20,2021

if this is the case, what should I do if I want to determine the login status?

Middleware is a layer-by-layer execution, and you can choose not to execute it when you finish it.

put app.use ('/',.) ) in front of the static resource middleware.


;
var router = express.Router();


router.get('/', function(req, res) {})

app.use('/',router)

app.get('/',(a,b)=>{})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3221b-2bdf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3221b-2bdf1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?