fix(editor): load the core's defaults-filled document, trial guide fixes
This commit is contained in:
1 parent
0d167df271
commit
bb99edd2dd
5 files changed
+48
-54
No files matched your search
@@ -7,7 +7,8 @@ import base from '../vite.config'
|
||||
* forwarded to the trial gateway on loopback, so no CORS rule is involved.
|
||||
*/
|
||||
const target = process.env.FAUNOSTEO_TRIAL_GATEWAY
|
||||
if (!target || new URL(target).hostname !== '127.0.0.1')
|
||||
const url = target ? new URL(target) : null
|
||||
if (!url || url.protocol !== 'http:' || url.hostname !== '127.0.0.1')
|
||||
throw new Error('FAUNOSTEO_TRIAL_GATEWAY must be an http://127.0.0.1:<port> URL')
|
||||
|
||||
const SUPABASE_ROUTES = ['/auth/v1', '/rest/v1', '/storage/v1']
|
||||
|
||||
Reference in new issue
Block a user