Egg.js accesses static resources

1.publicconfig.default.js

clipboard.png
clipboard.png


clipboard.png


clipboard.png


clipboard.png

question: why http://localhost:9999 cannot directly access the front-end interface, and why I cannot find the http://localhost:9999/device_monitor path at the address.

Apr.13,2022

there is no route for'/ device_monitor''in the background, so it is 404 and can be equipped with a global matching route

router.get('/*', () => {
  this.ctx.body = fs.createReadStream('index.htmlpath')
 })

have you solved it yet?

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-1b3561b-2b708.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-1b3561b-2b708.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?