url change

This commit is contained in:
Zylan
2025-03-26 21:39:44 +08:00
parent 6df179d72d
commit 718914bd48
3 changed files with 6 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
> 🤔 "这b班到底值不值得上" —— 打工人日常疑惑
在线体验:[https://jobworth.zippland.com/](https://jobworth.zippland.com/)
在线体验:[https://worthjob.zippland.com/](https://worthjob.zippland.com/)
## 这是什么?
@@ -19,7 +19,7 @@
## 怎么用?
1. 打开网站:[https://jobworth.zippland.com/](https://jobworth.zippland.com/)
1. 打开网站:[https://worthjob.zippland.com/](https://worthjob.zippland.com/)
2. 填写你的具体情况:
- 📝 年薪(税前)
- ⏰ 工作时间安排

View File

@@ -578,7 +578,7 @@ const ShareCard: React.FC<ShareCardProps> = (props) => {
{/* 底部信息 */}
<div className="mt-10 text-center text-gray-500 space-y-1">
<div>&quot;b班上得值不值·&quot;</div>
<div>jobworth.zippland.com</div>
<div>worthjob.zippland.com</div>
</div>
</div>
@@ -742,7 +742,7 @@ const ShareCard: React.FC<ShareCardProps> = (props) => {
{/* 页脚 */}
<div className="mt-6 pt-4 border-t border-gray-200 text-center text-sm text-gray-500">
<div>jobworth.zippland.com</div>
<div>worthjob.zippland.com</div>
</div>
</div>
</div>

View File

@@ -14,8 +14,8 @@ const SalaryCalculator = () => {
// 在所有环境中执行重定向
if (typeof window !== 'undefined') {
const hostname = window.location.hostname;
if (hostname !== 'jobworth.zippland.com' && hostname !== 'localhost' && !hostname.includes('127.0.0.1')) {
window.location.href = 'https://jobworth.zippland.com' + window.location.pathname;
if (hostname !== 'worthjob.zippland.com' && hostname !== 'localhost' && !hostname.includes('127.0.0.1')) {
window.location.href = 'https://worthjob.zippland.com' + window.location.pathname;
}
}
}, []);