setup and workflow: added example wrangler file

This commit is contained in:
Dhravya 2024-03-30 14:55:54 -07:00
parent 2e6d1ce574
commit fe337af9e2
6 changed files with 24 additions and 58 deletions

View file

@ -1,5 +1,3 @@
{
"/not-found": "app/not-found.js",
"/api/[...nextauth]/route": "app/api/[...nextauth]/route.js",
"/page": "app/page.js"
}

View file

@ -2,46 +2,6 @@
"sortedMiddleware": [],
"middleware": {},
"functions": {
"/not-found": {
"files": [
"server/server-reference-manifest.js",
"server/app/not-found_client-reference-manifest.js",
"server/middleware-build-manifest.js",
"server/middleware-react-loadable-manifest.js",
"server/next-font-manifest.js",
"server/edge-runtime-webpack.js",
"server/app/not-found.js"
],
"name": "app/not-found",
"page": "/not-found",
"matchers": [
{
"regexp": "^/not\\-found$",
"originalSource": "/not-found"
}
],
"wasm": [],
"assets": []
},
"/api/[...nextauth]/route": {
"files": [
"server/middleware-build-manifest.js",
"server/middleware-react-loadable-manifest.js",
"server/next-font-manifest.js",
"server/edge-runtime-webpack.js",
"server/app/api/[...nextauth]/route.js"
],
"name": "app/api/[...nextauth]/route",
"page": "/api/[...nextauth]/route",
"matchers": [
{
"regexp": "^/api/(?<nextauth>.+?)$",
"originalSource": "/api/[...nextauth]"
}
],
"wasm": [],
"assets": []
},
"/page": {
"files": [
"server/server-reference-manifest.js",

View file

@ -1 +1 @@
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"W9uWR1/hXj4vReMVgs8KmMfKA8xn1NDBPuRIvYsR2BI=\"\n}"
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"ZWNgdVMZpdUZxyAbPoNt3XJTA6BPjXGSKTllm6N6ukQ=\"\n}"

View file

@ -1,5 +1,5 @@
{
"node": {},
"edge": {},
"encryptionKey": "W9uWR1/hXj4vReMVgs8KmMfKA8xn1NDBPuRIvYsR2BI="
"encryptionKey": "ZWNgdVMZpdUZxyAbPoNt3XJTA6BPjXGSKTllm6N6ukQ="
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,18 @@
name = "web"
compatibility_date = "2024-03-29"
compatibility_flags = ["nodejs_compat"]
[[vectorize]]
binding = "VECTORIZE_INDEX"
index_name = "anycontext-idx"
[[d1_databases]]
binding = "DATABASE"
database_name = "dev-d1-anycontext"
[vars]
GOOGLE_CLIENT_ID="-"
GOOGLE_CLIENT_SECRET="-"
NEXTAUTH_SECRET="sec"
NEXTAUTH_URL="http://localhost:3000"
BACKEND_SECURITY_KEY="XP1FNh+rTYghq2TmrFbMLCCBy+eBAvi8iuoMuV9zDUc="