File tree Expand file tree Collapse file tree 7 files changed +3509
-2971
lines changed
Expand file tree Collapse file tree 7 files changed +3509
-2971
lines changed Original file line number Diff line number Diff line change 99 "ppa" : " false"
1010 },
1111 "ghcr.io/devcontainers/features/sshd:1" : {
12- "version" : " latest"
12+ "version" : " latest"
1313 }
1414 },
1515
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -30,7 +30,12 @@ export type APIContext = Context<{ Bindings: Bindings }>;
3030app
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 )
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 292292 ]
293293 },
294294 {
295- "type" :" checkbox" ,
295+ "type" : " checkbox" ,
296296 "label" : " Provided Climb Assistance (for same chain)" ,
297297 "name" : " buddy"
298298 }
313313 "type" : " column" ,
314314 "children" : [
315315 {
316- "type" :" checkbox" ,
316+ "type" : " checkbox" ,
317317 "label" : " Floor Pick Up" ,
318318 "name" : " floorpickup" ,
319319 "exportAs" : " int"
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments