ci: GHCR docker build for Lite branch + compose updates
- .github/workflows/docker-lite.yml: build & push ghcr.io/lezi-fun/ forumlify-deploy:lite on Lite branch push (linux/amd64+arm64) - docker-compose.yml: pull :lite image from GHCR, add PORT / ENABLE_ CAPTCHA env, restart: unless-stopped on both services
This commit is contained in:
1 parent
8f88f803f5
commit
9e407d0a2d
1532 files changed
+645187
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
module.exports=[54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))},23862,e=>e.a(async(t,r)=>{try{var a=await e.y("pg-587764f78a6c7a9c");e.n(a),r()}catch(e){r(e)}},!0),80998,e=>e.a(async(t,r)=>{try{var a=e.i(23862),n=t([a]);[a]=n.then?(await n)():n;let i=!!process.env.VERCEL||!!process.env.AWS_LAMBDA_FUNCTION_NAME||!!process.env.CF_PAGES,s=new a.Pool({connectionString:process.env.DATABASE_URL||"postgresql://forumlify:123456@localhost:5432/forumlify",...i?{max:1,idleTimeoutMillis:5e3,connectionTimeoutMillis:1e4,maxUses:7500}:{}}),o=i?s:globalThis.__forumlifyPool||s;e.s(["default",0,o]),r()}catch(e){r(e)}},!1),24361,(e,t,r)=>{t.exports=e.x("util",()=>require("util"))},33215,e=>e.a(async(t,r)=>{try{var a=e.i(80998),n=e.i(71650),i=t([a,n]);async function s(e,{params:t}){let r=(0,n.getUser)(e);if(!r)return Response.json({error:"请先登录"},{status:401});let i=await (0,n.requireAdmin)(r);if(i)return i;try{return await a.default.query("DELETE FROM friendly_links WHERE id = $1",[(await t).id]),Response.json({success:!0})}catch{return Response.json({error:"删除失败,请稍后重试"},{status:500})}}[a,n]=i.then?(await i)():i,e.s(["DELETE",0,s]),r()}catch(e){r(e)}},!1),50374,e=>{"use strict";var t=e.i(47909),r=e.i(74017),a=e.i(96250),n=e.i(59756),i=e.i(61916),s=e.i(74677),o=e.i(69741),l=e.i(16795),u=e.i(87718),d=e.i(95169),p=e.i(47587),c=e.i(66012),h=e.i(70101),x=e.i(26937),R=e.i(10372),v=e.i(93695);e.i(52474);var m=e.i(220);let f=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/links/[id]/route",pathname:"/api/links/[id]",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/links/[id]/route.js",nextConfigOutput:"",userland:()=>e.r(33215),...{}}),{workAsyncStorage:g,workUnitAsyncStorage:E,serverHooks:w}=f;async function y(e,t,a){a.requestMeta&&(0,n.setRequestMeta)(e,a.requestMeta),f.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let g="/api/links/[id]/route";g=g.replace(/\/index$/,"")||"/";let E=await f.prepare(e,t,{srcPage:g,multiZoneDraftMode:!1});if(!E)return t.statusCode=400,t.end("Bad Request"),null==a.waitUntil||a.waitUntil.call(a,Promise.resolve()),null;let{buildId:w,deploymentId:y,params:C,nextConfig:A,parsedUrl:T,isDraftMode:b,prerenderManifest:q,routerServerContext:S,isOnDemandRevalidate:_,revalidateOnlyGenerated:P,resolvedPathname:N,clientReferenceManifest:k,serverActionsManifest:O}=E,j=(0,o.normalizeAppPath)(g),M=!!(q.dynamicRoutes[j]||q.routes[N]),H=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,T,!1):t.end("This page could not be found"),null);if(M&&!b){let e=!!q.routes[N],t=q.dynamicRoutes[j];if(t&&!1===t.fallback&&!e){if(A.adapterPath)return await H();throw new v.NoFallbackError}}let U=null;!M||f.isDev||b||(U="/index"===(U=N)?"/":U);let I=!0===f.isDev||!M,D=M&&!I;O&&k&&(0,s.setManifestsSingleton)({page:g,clientReferenceManifest:k,serverActionsManifest:O});let L=e.method||"GET",F=(0,i.getTracer)(),B=F.getActiveScopeSpan(),K=!!(null==S?void 0:S.isWrappedByNextServer),$=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await f.getIncrementalCache(e,A,q,$);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:C,previewProps:q.preview,renderOpts:{experimental:{authInterrupts:!!A.experimental.authInterrupts,useCacheTimeout:A.experimental.useCacheTimeout},cacheComponents:!!A.cacheComponents,validationLevel:A.experimental.instantInsights.validationLevel,supportsDynamicResponse:I,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:A.cacheLife,staticPageGenerationTimeout:A.staticPageGenerationTimeout,waitUntil:a.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,a,n)=>f.onRequestError(e,t,a,n,S)},sharedContext:{buildId:w,deploymentId:y}},W=new l.NodeNextRequest(e),X=new l.NodeNextResponse(t),z=u.NextRequestAdapter.fromNodeNextRequesLine truncated
|
||||
|
||||
//# sourceMappingURL=%5Broot-of-the-server%5D__07pgp09._.js.map
|
||||
Reference in new issue
Block a user