copy base dmenu to dkala

This commit is contained in:
hamid zarghami
2026-02-07 15:31:22 +03:30
commit c9e37f6177
521 changed files with 57786 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const express = require('express')
const path = require('path')
const opn = require('opn')
const server = express()
const host = 'http://localhost:8082'
server.use('/assets', express.static(path.resolve(__dirname, './assets')))
server.use('/dist', express.static(path.resolve(__dirname, './dist')))
server.get('*', (req, res) => {
res.sendFile(path.resolve(__dirname, './index.html'));
})
server.listen(8082, () => {
console.log(`server started at ${host}`)
opn(host)
})