Skip to content

Commit c929226

Browse files
committed
fix: simpler, cleaner and more sane way of doing what I did yesterday
1 parent afa6b43 commit c929226

File tree

5 files changed

+9
-189
lines changed

5 files changed

+9
-189
lines changed

src/routes/auth/launcher/+page.server.ts

Lines changed: 0 additions & 134 deletions
This file was deleted.

src/routes/auth/launcher/+page.svelte

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/routes/auth/launcher/signup/+server.ts renamed to src/routes/auth/launcher/+server.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export const POST = async ({ request, locals: { supabaseServer } }) => {
3838
}),
3939
{
4040
status: 200,
41-
headers: { "Content-Type": "application/json" }
41+
headers: {
42+
"Content-Type": "application/json",
43+
"Access-Control-Allow-Origin": "*"
44+
}
4245
}
4346
)
4447
}
@@ -73,7 +76,10 @@ export const POST = async ({ request, locals: { supabaseServer } }) => {
7376
}),
7477
{
7578
status: 200,
76-
headers: { "Content-Type": "application/json" }
79+
headers: {
80+
"Content-Type": "application/json",
81+
"Access-Control-Allow-Origin": "*"
82+
}
7783
}
7884
)
7985
}

src/routes/auth/launcher/login/+server.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

svelte.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ const config = {
3939
"ws://db.waspscripts.dev",
4040
"wss://db.waspscripts.dev"
4141
],
42+
4243
"frame-src": [
4344
"self",
4445
"https://stripe-data-exports.s3.amazonaws.com/",

0 commit comments

Comments
 (0)