test(web): api/index.jsx

This commit is contained in:
Paul Armstrong
2021-02-11 07:13:21 -08:00
committed by Blake Blackshear
parent 53288d361c
commit 6d133ef724
5 changed files with 136 additions and 7 deletions

1
web/src/api/baseUrl.js Normal file
View File

@@ -0,0 +1 @@
export const baseUrl = import.meta.env.SNOWPACK_PUBLIC_API_HOST || window.baseUrl || '';