sprintpm.org

This commit is contained in:
2026-01-29 11:14:11 +00:00
parent 37966204e4
commit 8c641e5df0
4 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { getServerURL } from "@/lib/utils";
const DEFAULT_URL = "https://tnirps.ob248.com";
const DEFAULT_URL = "https://server.sprintpm.org";
const formatURL = (url: string) => {
if (url.endsWith("/")) {

View File

@@ -37,7 +37,7 @@ export function getServerURL() {
let serverURL =
localStorage.getItem("serverURL") || // user-defined server URL
ENV_SERVER_URL || // environment variable
"https://tnirps.ob248.com"; // fallback
"https://server.sprintpm.org"; // fallback
if (serverURL.endsWith("/")) {
serverURL = serverURL.slice(0, -1);
}

View File

@@ -22,7 +22,7 @@ export default defineConfig(async () => ({
server: {
port: 1420,
strictPort: true,
allowedHosts: ["sprint.ob248.com"],
allowedHosts: ["sprint.ob248.com", "sprintpm.org"],
host: host || false,
hmr: host
? {