mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(electron): add refer/origin to api requests (#9880)
related to BS-2181
This commit is contained in:
@@ -40,7 +40,7 @@ function spawnOrReloadElectron() {
|
||||
process.env.NODE_OPTIONS = NODE_OPTIONS.replace(/--import=[^\s]*/, '');
|
||||
}
|
||||
|
||||
spawnProcess = spawn(exe, ['.'], {
|
||||
spawnProcess = spawn(exe, ['.', '--inspect'], {
|
||||
cwd: electronDir,
|
||||
env: process.env,
|
||||
shell: true,
|
||||
|
||||
Reference in New Issue
Block a user