mirror of
https://github.com/Zippland/worth-calculator.git
synced 2026-03-02 16:22:48 +08:00
url change
This commit is contained in:
@@ -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. 填写你的具体情况:
|
||||
- 📝 年薪(税前)
|
||||
- ⏰ 工作时间安排
|
||||
|
||||
@@ -578,7 +578,7 @@ const ShareCard: React.FC<ShareCardProps> = (props) => {
|
||||
{/* 底部信息 */}
|
||||
<div className="mt-10 text-center text-gray-500 space-y-1">
|
||||
<div>由"这b班上得值不值·测算版"精心定制</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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user