forked from Github/frigate
feat!: web user interface
This commit is contained in:
committed by
Blake Blackshear
parent
5ad4017510
commit
c618867941
5
web/src/context/index.js
Normal file
5
web/src/context/index.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import { createContext } from 'preact';
|
||||
|
||||
export const Config = createContext({});
|
||||
|
||||
export const ApiHost = createContext(import.meta.env.SNOWPACK_PUBLIC_API_HOST || '');
|
||||
Reference in New Issue
Block a user