create-better-t-stack 3.5.2 → 3.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ export const web = await Nextjs("web", {
|
|
|
57
57
|
{{#if (eq backend "self")}}
|
|
58
58
|
{{#if (eq dbSetup "d1")}}
|
|
59
59
|
DB: db,
|
|
60
|
-
{{else if (
|
|
60
|
+
{{else if (ne database "none")}}
|
|
61
61
|
DATABASE_URL: alchemy.secret(process.env.DATABASE_URL),
|
|
62
62
|
{{/if}}
|
|
63
63
|
CORS_ORIGIN: process.env.CORS_ORIGIN || "",
|
|
@@ -131,7 +131,7 @@ export const web = await TanStackStart("web", {
|
|
|
131
131
|
{{#if (eq backend "self")}}
|
|
132
132
|
{{#if (eq dbSetup "d1")}}
|
|
133
133
|
DB: db,
|
|
134
|
-
{{else if (
|
|
134
|
+
{{else if (ne database "none")}}
|
|
135
135
|
DATABASE_URL: alchemy.secret(process.env.DATABASE_URL),
|
|
136
136
|
{{/if}}
|
|
137
137
|
CORS_ORIGIN: process.env.CORS_ORIGIN || "",
|
|
@@ -220,7 +220,7 @@ export const server = await Worker("server", {
|
|
|
220
220
|
bindings: {
|
|
221
221
|
{{#if (eq dbSetup "d1")}}
|
|
222
222
|
DB: db,
|
|
223
|
-
{{else if (
|
|
223
|
+
{{else if (ne database "none")}}
|
|
224
224
|
DATABASE_URL: alchemy.secret(process.env.DATABASE_URL),
|
|
225
225
|
{{/if}}
|
|
226
226
|
CORS_ORIGIN: process.env.CORS_ORIGIN || "",
|