primera iteracion del front
This commit is contained in:
7
front/src/assets/hooks/getUrl.js
Normal file
7
front/src/assets/hooks/getUrl.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { readable } from "svelte/store";
|
||||
|
||||
export const url = readable(
|
||||
typeof window !== "undefined" && window.location.hostname === "localhost"
|
||||
? "http://localhost:8080"
|
||||
: "https://fedesrv.ddns.net/short",
|
||||
);
|
||||
Reference in New Issue
Block a user