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

@@ -6,8 +6,8 @@ CORS_ORIGIN=http://localhost:1420
# openssl rand -base64 32 # openssl rand -base64 32
JWT_SECRET=jwt_secret_here JWT_SECRET=jwt_secret_here
S3_PUBLIC_URL=https://issuebucket.ob248.com S3_PUBLIC_URL=https://images.sprintpm.org
S3_ENDPOINT=https://account_id.r2.cloudflarestorage.com/issue S3_ENDPOINT=https://account_id.r2.cloudflarestorage.com/sprint
S3_ACCESS_KEY_ID=your_access_key_id S3_ACCESS_KEY_ID=your_access_key_id
S3_SECRET_ACCESS_KEY=your_secret_access_key S3_SECRET_ACCESS_KEY=your_secret_access_key
S3_BUCKET_NAME=issue S3_BUCKET_NAME=issue
@@ -16,4 +16,4 @@ STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
STRIPE_SECRET_KEY=your_stripe_secret_key STRIPE_SECRET_KEY=your_stripe_secret_key
RESEND_API_KEY=re_xxxxxxxxxxxxxxxx RESEND_API_KEY=re_xxxxxxxxxxxxxxxx
EMAIL_FROM=Sprint <support@sprint.ob248.com> EMAIL_FROM=Sprint <support@sprintpm.org>

View File

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

View File

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

View File

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