From 8cde19ba258eeddd6a64fb34dceffa0ec4014a08 Mon Sep 17 00:00:00 2001 From: monoid Date: Mon, 11 Jan 2021 03:14:29 +0900 Subject: [PATCH] content security policy --- app.ts | 16 +++++++++++++--- index.html | 2 ++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/app.ts b/app.ts index 76baa6b..c769f3f 100644 --- a/app.ts +++ b/app.ts @@ -1,12 +1,14 @@ import { app, BrowserWindow, session } from "electron"; import { get_setting } from "./src/setting"; import { create_server, start_server } from "./src/server"; -import { getAdminCookieValue, loginTokenName } from "./src/login"; +import { getAdminAccessTokenValue,getAdminRefreshTokenValue, accessTokenName, refreshTokenName } from "./src/login"; const get_loading_html = (content?:string)=> ` react-sample +