Spaces:
Paused
Paused
Upload server.js
Browse files150 unmodified lines15115215315415515615715852 unmodified lines211212213214215216150 unmodified lines'}catch(e){}' +'try{if(window.__es5CssVarsApply)window.__es5CssVarsApply();}catch(e){}' +'try{' +transpiledCode +'}catch(e){try{console.error("ES5 proxy plugin error",e&&e.message?e.message:e);}catch(e2){}}' +'__es5_active=false;' +'try{if(window.__es5CssVarsApply)window.__es5CssVarsApply();}catch(e){}' +'})();'52 unmodified linesreturn css}app.get('/health', (req, res) => {res.status(200).json({ ok: true })})150 unmodified lines15115215315415515615715815916016116216316416516616716816917052 unmodified lines223224225226227228229230231232233234235150 unmodified lines'}catch(e){}' +'try{if(window.__es5CssVarsApply)window.__es5CssVarsApply();}catch(e){}' +'try{' +'var __mock_script = document.createElement("script");' +'__mock_script.src = __es5_base;' +'var __orig_cs_desc;' +'try {' +'__orig_cs_desc = Object.getOwnPropertyDescriptor(Document.prototype, "currentScript") || Object.getOwnPropertyDescriptor(HTMLDocument.prototype, "currentScript") || Object.getOwnPropertyDescriptor(document, "currentScript");' +'if(!__orig_cs_desc) { document.currentScript = __mock_script; } else {' +'Object.defineProperty(document, "currentScript", { get: function(){ return __mock_script; }, configurable: true });' +'}' +'} catch(e_cs) {}' +transpiledCode +'}catch(e){try{console.error("ES5 proxy plugin error",e&&e.message?e.message:e);}catch(e2){}}' +'finally {' +'try { if(__orig_cs_desc) Object.defineProperty(document, "currentScript", __orig_cs_desc); else delete document.currentScript; } catch(e_cs2) {}' +'}' +'__es5_active=false;' +'try{if(window.__es5CssVarsApply)window.__es5CssVarsApply();}catch(e){}' +'})();'52 unmodified linesreturn css}app.use((req, res, next) => {res.setHeader('Access-Control-Allow-Origin', '*');res.setHeader('Access-Control-Allow-Methods', 'GET, OPTIONS');res.setHeader('Access-Control-Allow-Headers', '*');next();})app.get('/health', (req, res) => {res.status(200).json({ ok: true })})
server.js+19