smc-hub
Version:
CoCalc: Backend webserver component
23 lines (20 loc) • 911 B
JavaScript
;
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = exports.share_router = void 0;
/*
Share server
ENDPOINTS:
The share router:
- /alive - that this is working, database is responding, etc.
- /share/... - browser through all shared files in all projects, but where pages are generated by backend server
- catches anything with a specified vhost in public_paths
*/
var share_1 = require("./share");
Object.defineProperty(exports, "share_router", { enumerable: true, get: function () { return share_1.share_router; } });
var http_server_1 = require("./http-server");
Object.defineProperty(exports, "init", { enumerable: true, get: function () { return http_server_1.init; } });
//# sourceMappingURL=server.js.map