Skip to content

Commit e739746

Browse files
committed
redeploy
1 parent c46536e commit e739746

File tree

7 files changed

+3509
-2971
lines changed

7 files changed

+3509
-2971
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ppa": "false"
1010
},
1111
"ghcr.io/devcontainers/features/sshd:1": {
12-
"version": "latest"
12+
"version": "latest"
1313
}
1414
},
1515

.github/workflows/javascript.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
run: cd web && pnpm build
9393
env:
9494
VITE_API_TOKEN: ${{ secrets.WEB_API_TOKEN }}
95-
VITE_API_URI: https://api.scout.kennan.tech
95+
VITE_API_URI: https://scouting-api.kennan.workers.dev/
9696

9797
- name: Publish Web to Cloudflare Pages
9898
uses: cloudflare/pages-action@v1

api/src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ export type APIContext = Context<{ Bindings: Bindings }>;
3030
app
3131
.notFound(handle404)
3232
.use("/*", addTrailingSlash)
33-
.use("/*", cors()) // TODO: limit cors allowed origins
33+
.use(
34+
"/*",
35+
cors({
36+
origin: "https://scout.kennan.dev",
37+
})
38+
) // TODO: limit cors allowed origins
3439
// .use("/api/*", protect) // TODO: Fix Authentication
3540
.post("/auth/generate/", generateHandler)
3641
.get("/dump/schedule/:eventId/:format/", dumpScheduleHandler)

app/app/release/output-metadata.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,13 @@
2121
{
2222
"minApi": 28,
2323
"maxApi": 30,
24-
"baselineProfiles": [
25-
"baselineProfiles/1/app-release.dm"
26-
]
24+
"baselineProfiles": ["baselineProfiles/1/app-release.dm"]
2725
},
2826
{
2927
"minApi": 31,
3028
"maxApi": 2147483647,
31-
"baselineProfiles": [
32-
"baselineProfiles/0/app-release.dm"
33-
]
29+
"baselineProfiles": ["baselineProfiles/0/app-release.dm"]
3430
}
3531
],
3632
"minSdkVersionForDexing": 30
37-
}
33+
}

app/app/src/main/assets/Form.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
]
293293
},
294294
{
295-
"type":"checkbox",
295+
"type": "checkbox",
296296
"label": "Provided Climb Assistance (for same chain)",
297297
"name": "buddy"
298298
}
@@ -313,7 +313,7 @@
313313
"type": "column",
314314
"children": [
315315
{
316-
"type":"checkbox",
316+
"type": "checkbox",
317317
"label": "Floor Pick Up",
318318
"name": "floorpickup",
319319
"exportAs": "int"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": {
55
"name": "Kennan Hunter",
66
"email": "kennanhunter5@gmail.com",
7-
"url": "https://kennan.tech"
7+
"url": "https://kennan.dev"
88
},
99
"scripts": {
1010
"dev-api": "cd api && pnpm run dev",

0 commit comments

Comments
 (0)