Skip to content

Commit

Permalink
change api-endpoint to .com
Browse files Browse the repository at this point in the history
This reverts commit 38a7333.
  • Loading branch information
im-calvin committed Oct 26, 2023
1 parent 38a7333 commit 98e1ccc
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
36 changes: 18 additions & 18 deletions admin-system/backend/postman-environment.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"id": "cf22f32b-d27b-4ec9-8685-912f70de555f",
"values": [
{
"key": "hostname",
"value": "https://3fa.bxian03.systems",
"type": "default",
"enabled": true
},
{
"key": "port",
"value": "443",
"type": "default",
"enabled": true
}
],
"name": "Globals",
"_postman_variable_scope": "globals"
}
"id": "cf22f32b-d27b-4ec9-8685-912f70de555f",
"values": [
{
"key": "hostname",
"value": "https://3fa.bxian03.com",
"type": "default",
"enabled": true
},
{
"key": "port",
"value": "443",
"type": "default",
"enabled": true
}
],
"name": "Globals",
"_postman_variable_scope": "globals"
}
2 changes: 1 addition & 1 deletion admin-system/frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default ({ mode }) => {
plugins: [react()],
server: {
cors: {
origin: [/(localhost|127\.0\.0\.1)/, "http://192.168.137.1", "https://3fa.bxian03.systems"],
origin: [/(localhost|127\.0\.0\.1)/, "http://192.168.137.1", "https://3fa.bxian03.com"],
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion client/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
{
name: "@electron-forge/plugin-webpack",
config: {
devContentSecurityPolicy: `connect-src 'self' http://192.168.137.1:5000 https://192.168.137.1:5000 https://127.0.0.1:5000 http://127.0.0.1:5000 http://192.168.137.159 http://192.168.12.159 https://3fa.bxian03.systems`,
devContentSecurityPolicy: `connect-src 'self' http://192.168.137.1:5000 https://192.168.137.1:5000 https://127.0.0.1:5000 http://127.0.0.1:5000 http://192.168.137.159 http://192.168.12.159 https://3fa.bxian03.com`,
mainConfig: "./webpack.main.config.js",
renderer: {
config: "./webpack.renderer.config.js",
Expand Down
2 changes: 1 addition & 1 deletion client/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { readFileSync, writeFile } = require("node:fs");
const { desktopCapturer } = require("electron");
require("dotenv").config();

API_ENDPOINT = "https://3fa.bxian03.com/";
API_ENDPOINT = "https://3fa.bxian03.systems/";

require("update-electron-app")({
updateInterval: "1 hour",
Expand Down
2 changes: 1 addition & 1 deletion client/src/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

const { contextBridge, ipcRenderer, app } = require("electron");

API_ENDPOINT = "https://3fa.bxian03.systems/";
API_ENDPOINT = "https://3fa.bxian03.com/";
PICO_API_ENDPOINT = "http://192.168.1.153";

// 'internal' channel is used for internal stuff
Expand Down

0 comments on commit 98e1ccc

Please sign in to comment.