Skip to content

Commit e4acdd6

Browse files
committed
chore: new domain
1 parent db3bf23 commit e4acdd6

20 files changed

Lines changed: 38 additions & 40 deletions

.env.vite.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VITE_SERVER_URL=https://control.pfconnect.online
1+
VITE_SERVER_URL=https://pfcontrol.com

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributions are welcome!
44

55
## How to Contribute
66

7-
- **Fork the repo** and open a pull request (to the `canary` branch so it can be tested on [canary.pfconnect.online](https://canary.pfconnect.online)).
7+
- **Fork the repo** and open a pull request (to the `canary` branch so it can be tested on [canary.pfcontrol.com](https://canary.pfcontrol.com)).
88
- **Follow the existing code style** and conventions.
99
- **Run checks before submitting:**
1010
- `npm run lint` to check for lint errors.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We welcome contributions, bug reports, and feature requests. See the Contributin
88

99
If you just want to try or demo PFControl:
1010

11-
- Visit [control.pfconnect.online](https://control.pfconnect.online)
11+
- Visit [pfcontrol.com](https://pfcontrol.com)
1212
- Try PFControl by creating a session from the homepage.
1313

1414
## Development — Local setup

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
content="The next-generation flight strip platform built for real-time coordination between air traffic controllers in Project Flight, PTFS, and Roblox aviation games with enterprise-level reliability."
2626
/>
2727
<meta property="og:type" content="website" />
28-
<meta property="og:url" content="https://control.pfconnect.online/" />
28+
<meta property="og:url" content="https://pfcontrol.com/" />
2929

3030
<meta name="twitter:card" content="summary_large_image" />
3131
<meta
@@ -40,7 +40,7 @@
4040
<meta name="robots" content="index, follow" />
4141
<meta name="googlebot" content="index, follow" />
4242
<meta name="google-adsense-account" content="ca-pub-3075420086521736">
43-
<link rel="canonical" href="https://control.pfconnect.online/" />
43+
<link rel="canonical" href="https://pfcontrol.com/" />
4444
<link
4545
rel="sitemap"
4646
type="application/xml"
@@ -54,7 +54,7 @@
5454
"@type": "WebApplication",
5555
"name": "PFControl v2",
5656
"description": "Flight strip platform for Project Flight and Roblox aviation games",
57-
"url": "https://control.pfconnect.online/",
57+
"url": "https://pfcontrol.com/",
5858
"applicationCategory": "Gaming, Aviation Simulation",
5959
"operatingSystem": "Web Browser",
6060
"keywords": "Project Flight, PTFS, Roblox aviation, flight strips, ATC",

public/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
User-agent: *
22
Allow: /
3-
Sitemap: https://control.pfconnect.online/sitemap.xml
3+
Sitemap: https://pfcontrol.com/sitemap.xml

public/sitemap.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
4-
<loc>https://control.pfconnect.online/</loc>
4+
<loc>https://pfcontrol.com/</loc>
55
<priority>1.0</priority>
66
<changefreq>daily</changefreq>
77
</url>
88
<url>
9-
<loc>https://control.pfconnect.online/create</loc>
9+
<loc>https://pfcontrol.com/create</loc>
1010
<priority>0.9</priority>
1111
<changefreq>weekly</changefreq>
1212
</url>
1313
<url>
14-
<loc>https://control.pfconnect.online/sessions</loc>
14+
<loc>https://pfcontrol.com/sessions</loc>
1515
<priority>0.8</priority>
1616
<changefreq>weekly</changefreq>
1717
</url>
1818
<url>
19-
<loc>https://control.pfconnect.online/pfatc</loc>
19+
<loc>https://pfcontrol.com/pfatc</loc>
2020
<priority>0.7</priority>
2121
<changefreq>weekly</changefreq>
2222
</url>
2323
<url>
24-
<loc>https://control.pfconnect.online/settings</loc>
24+
<loc>https://pfcontrol.com/settings</loc>
2525
<priority>0.5</priority>
2626
<changefreq>monthly</changefreq>
2727
</url>
2828
<url>
29-
<loc>https://control.pfconnect.online/login</loc>
29+
<loc>https://pfcontrol.com/login</loc>
3030
<priority>0.3</priority>
3131
<changefreq>monthly</changefreq>
3232
</url>

server/middleware/tester.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const JWT_SECRET = process.env.JWT_SECRET;
77

88
function shouldBypassTesterGate(req: Request): boolean {
99
const host = req.get('host') || req.get('x-forwarded-host') || '';
10-
return host === 'control.pfconnect.online';
10+
return host === 'pfcontrol.com';
1111
}
1212

1313
export async function requireTester(
@@ -71,7 +71,7 @@ export async function checkTesterGateStatus() {
7171

7272
export async function checkTesterGateStatusWithDomain(host?: string) {
7373
try {
74-
if (host === 'control.pfconnect.online') {
74+
if (host === 'pfcontrol.com') {
7575
return false;
7676
}
7777

server/routes/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ router.get('/tester-settings', async (req, res) => {
560560
try {
561561
const host = req.get('host') || req.get('x-forwarded-host') || '';
562562

563-
if (host === 'control.pfconnect.online') {
563+
if (host === 'pfcontrol.com') {
564564
return res.json({ tester_gate_enabled: false });
565565
}
566566

server/websockets/arrivalsWebsocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ export function setupArrivalsWebsocket(httpServer: HttpServer): SocketServer {
3333
origin: [
3434
'http://localhost:5173',
3535
'http://localhost:9901',
36-
'https://control.pfconnect.online',
37-
'https://canary.pfconnect.online',
36+
'https://pfcontrol.com',
37+
'https://canary.pfcontrol.com',
3838
],
3939
credentials: true,
4040
},

server/websockets/chatWebsocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export function setupChatWebsocket(
5858
origin: [
5959
'http://localhost:5173',
6060
'http://localhost:9901',
61-
'https://control.pfconnect.online',
62-
'https://canary.pfconnect.online',
61+
'https://pfcontrol.com',
62+
'https://canary.pfcontrol.com',
6363
],
6464
credentials: true,
6565
},

0 commit comments

Comments
 (0)