geelen
03/04/2022, 6:11 PMexit 0
geelen
03/04/2022, 6:11 PMminimusubi
03/04/2022, 6:32 PMminimusubi
03/04/2022, 6:35 PMjson
{
"routes": {
"GET /api/stop/search/near/:latitude]/[longitude": {
"module": [
"api/stop/search/near/[latitude]/[longitude].ts:onRequestGet"
]
}
},
"baseURL": "/"
}
Yāsky
03/05/2022, 2:10 AMfunctions
directory at the root level — the same level as src
.
On my preview app — or in local Wrangler — my root route is now no longer defined; it errors out with a 404. The only routes available are the routes from my functions.
Any idea on this? I would like to have the SvelteKit app call functions from the functions
folderIsaac McFadyen | YYZ01
03/05/2022, 2:14 AMfunctions
since it uses them internally (meaning if you try to create functions it overrides theirs).Isaac McFadyen | YYZ01
03/05/2022, 2:14 AM@sveltejs/adapter-static
and /functions
.Yāsky
03/05/2022, 2:15 AMKynson
03/06/2022, 9:03 AMminimusubi
03/06/2022, 1:01 PMKynson
03/06/2022, 1:02 PMKES
03/06/2022, 2:12 PMKES
03/06/2022, 2:12 PMKES
03/06/2022, 2:13 PMKES
03/06/2022, 2:13 PMSyntaxError: Unexpected token < in JSON at position 0
KES
03/06/2022, 2:14 PMminimusubi
03/06/2022, 2:48 PMfetch
forced to use HTTPS? I have a strange issue where I appear to receive the response from the https
URL instead of the http
one, even though my fetch request starts with http://
KES
03/06/2022, 2:53 PMKES
03/06/2022, 2:53 PMIsaac McFadyen | YYZ01
03/06/2022, 2:54 PMPlotzes
03/06/2022, 6:40 PMIsaac McFadyen | YYZ01
03/06/2022, 6:46 PMPlotzes
03/06/2022, 7:03 PMKynson
03/07/2022, 1:29 AMjustinhook
03/07/2022, 2:45 AMHardAtWork
03/07/2022, 3:34 AMjustinhook
03/07/2022, 3:46 AMErwin
03/07/2022, 4:06 AMminimusubi
03/07/2022, 4:09 AMjustinhook
03/07/2022, 4:25 AM