-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_redirects
More file actions
67 lines (58 loc) · 4.18 KB
/
_redirects
File metadata and controls
67 lines (58 loc) · 4.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# =============================================================================
# ShackDesk.com — Cloudflare Pages Redirect Rules
# Project: ShackDesk by N4TEK / My Computer Guru LLC
# https://github.com/Computer-Consultant/ShackDesk-Site
# Purpose: URL redirect and rewrite rules processed at the Cloudflare edge.
# Redirects here supplement the Cloudflare dashboard Redirect Rule
# that handles www → root (which is managed in the dashboard, not
# here, to preserve the wildcard path-capture behavior).
# Format: <source> <destination> <status>
# Source paths support * (wildcard) and :placeholder splats.
# Status 301 = permanent redirect (updates bookmarks/search index).
# Status 302 = temporary redirect (use sparingly).
# One rule per line. Lines starting with # are comments.
# Blank lines are ignored.
# Warning: Rules are matched top-to-bottom; the FIRST match wins.
# More specific paths must come before broader wildcard rules.
# Do NOT add a BOM or Windows line endings (CRLF) to this file.
# Docs: https://developers.cloudflare.com/pages/configuration/redirects/
# Limit: 2,000 static redirects or 100 dynamic redirects (free tier).
# Support: https://github.com/Computer-Consultant/ShackDesk-Site/issues
# =============================================================================
# -----------------------------------------------------------------------------
# Per-app subpath redirects — more specific paths must come first
# 302 temporary — destinations expected to mature over time
# -----------------------------------------------------------------------------
# PortPane — Velopack update package redirects
# releases.win.json is served as a static file from portpane/update/{channel}/
# nupkg files don't exist as static assets, so they fall through to these rules
/portpane/update/alpha/* https://github.com/Computer-Tsu/ShackDesk-PortPane/releases/download/latest-alpha/:splat 302
/portpane/update/beta/* https://github.com/Computer-Tsu/ShackDesk-PortPane/releases/download/latest-beta/:splat 302
/portpane/update/stable/* https://github.com/Computer-Tsu/ShackDesk-PortPane/releases/download/latest-stable/:splat 302
# PortPane — Windows desktop app
# /portpane/download is served from portpane/download/index.html (static page takes precedence)
/portpane/support https://github.com/Computer-Tsu/ShackDesk-PortPane/discussions 302
# RigCheck — Windows desktop app (in development, no release yet)
/rigcheck/download https://github.com/Computer-Tsu/ShackDesk-RigCheck/releases/latest 302
/rigcheck/support https://github.com/Computer-Tsu/ShackDesk-RigCheck/discussions 302
# MarkMySpot — PWA, opens live web app directly (no traditional download)
/markmyspot/app https://shackdesk-markmyspot.pages.dev 302
# -----------------------------------------------------------------------------
# Sponsorship — stable, permanent destinations
# -----------------------------------------------------------------------------
/sponsor https://github.com/sponsors/Computer-Tsu 301
/donate https://github.com/sponsors/Computer-Tsu 301
# -----------------------------------------------------------------------------
# Not yet defined — destinations depend on decisions not yet made.
# Add these once the target platform and per-app structure are settled.
#
# /download → which app? landing page? (302 when ready)
# /releases → which app? all apps index? (302 when ready)
# /changelog → per-app; GitHub releases or dedicated? (302 when ready)
# /discuss → per-app; GitHub Discussions or QRZ? (302 when ready)
# /support → per-app; GitHub Discussions or QRZ? (302 when ready)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Legacy / typo safety (add entries here if you change a URL after launch)
# Example: /dowload /download 301
# -----------------------------------------------------------------------------