this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

nocache for servelocal

uwx 77a1efbd de5f93f9

+13
+1
package.json
··· 21 21 "@typelex/emitter": "^0.4.0", 22 22 "@types/masonry-layout": "^4.2.8", 23 23 "express": "^5.2.1", 24 + "nocache": "^4.0.0", 24 25 "preact-portal": "^1.1.3", 25 26 "rolldown": "1.0.0-rc.4", 26 27 "typescript": "6.0.0-dev.20260213"
+9
pnpm-lock.yaml
··· 63 63 express: 64 64 specifier: ^5.2.1 65 65 version: 5.2.1 66 + nocache: 67 + specifier: ^4.0.0 68 + version: 4.0.0 66 69 preact-portal: 67 70 specifier: ^1.1.3 68 71 version: 1.1.3(preact@10.28.3) ··· 860 863 negotiator@1.0.0: 861 864 resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==} 862 865 engines: {node: '>= 0.6'} 866 + 867 + nocache@4.0.0: 868 + resolution: {integrity: sha512-AntnTbmKZvNYIsTVPPwv7dfZdAfo/6H/2ZlZACK66NAOQtIApxkB/6pf/c+s+ACW8vemGJzUCyVTssrzNUK6yQ==} 869 + engines: {node: '>=16.0.0'} 863 870 864 871 node-gyp-build@4.8.4: 865 872 resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} ··· 1947 1954 nanoid@5.1.6: {} 1948 1955 1949 1956 negotiator@1.0.0: {} 1957 + 1958 + nocache@4.0.0: {} 1950 1959 1951 1960 node-gyp-build@4.8.4: {} 1952 1961
+3
servelocal.mjs
··· 1 1 // @ts-check 2 2 import express, { static as serveStatic } from 'express'; 3 + import nocache from 'nocache'; 3 4 import { resolve } from 'path'; 4 5 const port = process.env.PORT || 8080; 5 6 const app = express(); 7 + 8 + app.use(nocache()); 6 9 7 10 // serve static assets normally 8 11 app.use(serveStatic(resolve('./public')));