Skip to content

Commit d19ee78

Browse files
Added .env file for common settings
Updated nofrixion-business.js script src to point to dev cdn
1 parent 95d2054 commit d19ee78

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_modules
66
dist
77
dist-ssr
88
*.local
9-
.env
9+
.env.*
1010
.cache
1111
server/dist
1212
public/dist

.vscode/settings.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"[ignore]": {
2222
"editor.defaultFormatter": "foxundermoon.shell-format"
2323
},
24-
"dotnet.defaultSolution": "bff/NoFrixion.Bff.sln"
24+
"dotnet.defaultSolution": "bff/NoFrixion.Bff.sln",
25+
"[dotenv]": {
26+
"editor.defaultFormatter": "foxundermoon.shell-format"
27+
}
2528
}

apps/business/.env

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Url of the NoFrixion API
2+
VITE_PUBLIC_NOFRIXION_API_URL='/api'
3+
4+
# Url of the bff
5+
VITE_PUBLIC_BFF_URL='/bff'

apps/business/.env.example

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Url of the NoFrixion API
2-
VITE_PUBLIC_NOFRIXION_API_URL='/api'
3-
4-
# Url of the bff
5-
VITE_PUBLIC_BFF_URL='/bff'
6-
71
NODE_TLS_REJECT_UNAUTHORIZED=0
82

93
VITE_PUBLIC_PORTAL_URL = "https://localhost:5001"

bff/NoFrixion.Bff/wwwroot/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<meta property="og:image:width" content="1200" />
3030
<meta property="og:image:height" content="630" />
3131
<meta property="og:image" content="https://cdn.nofrixion.com/img/mm4b-opengraph-image.png" />
32-
<script type="module" crossorigin src="/nofrixion-business.js"></script>
32+
<script type="module" crossorigin src="https://cdn.nofrixion.com/dev/nofrixion-business.js"></script>
3333

3434
</head>
3535
<body>

0 commit comments

Comments
 (0)