sidecar network host
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import { mkdir } from 'node:fs/promises';
|
||||
import { dirname, join } from 'node:path';
|
||||
import { homedir } from 'node:os';
|
||||
import { createRouter } from '../../create-router';
|
||||
import { DATA_PATH } from '@@/data-path';
|
||||
import { DATA_PATH, SERVER_CONFIG_DIR } from '@@/data-path';
|
||||
import { CustomError } from '../../custom-errors';
|
||||
|
||||
const configDir = `${homedir()}/.config/officer.dev`;
|
||||
const googleConfigPath = join(configDir, 'google-oauth.json');
|
||||
const googleConfigPath = join(SERVER_CONFIG_DIR, 'google-oauth.json');
|
||||
|
||||
const GOOGLE_SCOPES = [
|
||||
'https://www.googleapis.com/auth/gmail.readonly',
|
||||
|
||||
Reference in New Issue
Block a user