ctucx.git: trainsearch

web based trip-planner, fork of https://cyberchaos.dev/yuka/trainsearch

commit 5bdba60d68672835e1a45e5160702fc4afd6d263
parent 57f0d7e6dc5d3db0cbe2127894adac1fcd24f5fd
Author: Yureka <yuka@yuka.dev>
Date: Sun, 13 Feb 2022 15:28:15 +0100

cors proxy
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hafas_client.js b/src/hafas_client.js
@@ -2,5 +2,5 @@ export let client;
 
 export const initHafasClient = async () => {
 	const { JsFetchRequester, DbProfile, HafasClient } = await import('../hafas-rs/pkg/index.js');
-	client = new HafasClient(new DbProfile(), new JsFetchRequester());
+	client = new HafasClient(new DbProfile(), new JsFetchRequester("/", false));
 };