mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-23 03:10:30 +08:00
将前端 JS 移到插件目录
This commit is contained in:
@@ -11,7 +11,7 @@ mAccount = require '../../core/model/account'
|
||||
|
||||
module.exports = exports = express.Router()
|
||||
|
||||
app.use harp.mount(path.join(__dirname, 'static'))
|
||||
exports.use harp.mount(path.join(__dirname, 'static'))
|
||||
|
||||
sample =
|
||||
_id: '53c96734c2dad7d6208a0fbe'
|
||||
|
||||
@@ -13,5 +13,5 @@ module.exports =
|
||||
]
|
||||
|
||||
panel_script: [
|
||||
'/static/script/panel.js'
|
||||
'/script/panel.js'
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user