mirror of
https://github.com/Eugeny/tabby-web.git
synced 2026-08-17 23:06:04 +01:00
added demo iframe page
This commit is contained in:
@@ -67,6 +67,10 @@ function start () {
|
||||
res.sendFile(join(DIST_FOLDER, 'terminal.html'))
|
||||
})
|
||||
|
||||
app.get(['/demo'], (req, res) => {
|
||||
res.sendFile(join(DIST_FOLDER, 'demo.html'))
|
||||
})
|
||||
|
||||
for (const [key, value] of Object.entries(hardlinks)) {
|
||||
app.get(`/go/${key}`, (req, res) => res.redirect(value))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user