🐛 Front: Use the public API server to fetch data
This commit is contained in:
@@ -28,8 +28,7 @@ export interface BusinessDataStore {
|
|||||||
export const BusinessDataContext = createContext<BusinessDataStore>();
|
export const BusinessDataContext = createContext<BusinessDataStore>();
|
||||||
|
|
||||||
export function BusinessDataProvider(props: { children: JSX.Element }) {
|
export function BusinessDataProvider(props: { children: JSX.Element }) {
|
||||||
|
const [serverUrl] = createSignal<string>("https://carrramba.adrien.run/api");
|
||||||
const [serverUrl] = createSignal<string>("https://localhost:4443");
|
|
||||||
|
|
||||||
type Store = {
|
type Store = {
|
||||||
lines: Lines;
|
lines: Lines;
|
||||||
|
Reference in New Issue
Block a user