posthog config
This commit is contained in:
parent
ad2f0d2ce4
commit
c204168b24
@ -28,6 +28,25 @@ async function bootstrap() {
|
||||
|
||||
app.use(
|
||||
helmet({
|
||||
contentSecurityPolicy: {
|
||||
directives: {
|
||||
defaultSrc: ["'self'"],
|
||||
scriptSrc: [
|
||||
"'self'",
|
||||
"'unsafe-inline'",
|
||||
"'unsafe-eval'",
|
||||
"https://eu-assets.i.posthog.com",
|
||||
],
|
||||
connectSrc: [
|
||||
"'self'",
|
||||
"https://eu.posthog.com",
|
||||
"https://eu-assets.i.posthog.com",
|
||||
],
|
||||
imgSrc: ["'self'", "data:", "https:"],
|
||||
styleSrc: ["'self'", "'unsafe-inline'"],
|
||||
fontSrc: ["'self'", "data:", "https:"],
|
||||
},
|
||||
},
|
||||
crossOriginResourcePolicy: {
|
||||
policy: "cross-origin",
|
||||
},
|
||||
|
||||
@ -2,7 +2,7 @@ import axios from "axios";
|
||||
|
||||
const API_URL = "https://imkapi.oblak.solutions:3000";
|
||||
const api = axios.create({
|
||||
baseURL: API_URL,
|
||||
baseURL: "https://imkapi.oblak.solutions",
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
Accept: "application/json, text/plain, */*",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user