Page MenuHomeSealhub

custom-routes.js
No OneTemporary

custom-routes.js

const path = require("path");
module.exports = App => {
const www_server = App.ChipManager.get_chip("channel", "www-server");
www_server.static_route(path.resolve(module.filename, "../public"), "");
};

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 01:20 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557002
Default Alt Text
custom-routes.js (206 B)

Event Timeline