mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
more issue -> sprint
This commit is contained in:
@@ -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://eussi.ob248.com";
|
||||
const DEFAULT_URL = "https://tnirps.ob248.com";
|
||||
|
||||
const formatURL = (url: string) => {
|
||||
if (url.endsWith("/")) {
|
||||
|
||||
@@ -34,7 +34,7 @@ export function getServerURL() {
|
||||
let serverURL =
|
||||
localStorage.getItem("serverURL") || // user-defined server URL
|
||||
ENV_SERVER_URL || // environment variable
|
||||
"https://eussi.ob248.com"; // fallback
|
||||
"https://tnirps.ob248.com"; // fallback
|
||||
if (serverURL.endsWith("/")) {
|
||||
serverURL = serverURL.slice(0, -1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user