mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
add missing semicolon
This commit is contained in:
parent
7383b3f8f6
commit
307334e8dd
@ -68,7 +68,7 @@ export class BaseAPI {
|
|||||||
// TODO: should this be more selective?
|
// TODO: should this be more selective?
|
||||||
if (typeof window !== 'undefined' && window.location &&
|
if (typeof window !== 'undefined' && window.location &&
|
||||||
window.location.pathname.endsWith('/admin')) {
|
window.location.pathname.endsWith('/admin')) {
|
||||||
const bootKey = new URLSearchParams(window.location.search).get('boot-key')
|
const bootKey = new URLSearchParams(window.location.search).get('boot-key');
|
||||||
if (bootKey) {
|
if (bootKey) {
|
||||||
this._headers['X-Boot-Key'] = bootKey;
|
this._headers['X-Boot-Key'] = bootKey;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user