mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
feat: rabbit domain
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Test
|
||||
run: npm run test
|
||||
- name: Build
|
||||
run: npm run build -- --base="/rabbit/"
|
||||
run: npm run build
|
||||
env:
|
||||
VITE_COMMIT: ${{ steps.hash.outputs.sha_short }}
|
||||
- name: Check license
|
||||
|
||||
@@ -21,6 +21,14 @@
|
||||
<meta property="og:locale" content="ja_JP" />
|
||||
<link rel="manifest" href="manifest.json" />
|
||||
<link rel="shortcut icon" type="image/png" href="./images/rabbit_256.png" />
|
||||
<script>
|
||||
if (location.hostname === 'syusui-s.github.io' && location.pathname.startsWith('/rabbit/')) {
|
||||
const url = new URL(location.href);
|
||||
url.host = 'rabbit.syusui.net';
|
||||
url.pathname = '/';
|
||||
location.href = url.href;
|
||||
}
|
||||
</script>
|
||||
<title>Rabbit</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user