Skip to content

Let's use AI to Earn!

fix: 解决404问题

gaoSire287910ba177
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 01726bd3..d361161b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,13 +5,8 @@
</component>
<component name="ChangeListManager">
<list default="true" id="8ce961ad-7c9e-494c-bc53-9ecde4358af8" name="更改" comment="feat: 尝试多语言SEO优化,添加静态站点配置">
- <change afterPath="$PROJECT_DIR$/yarn.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/next-sitemap.config.js" beforeDir="false" afterPath="$PROJECT_DIR$/next-sitemap.config.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/next.config.mjs" beforeDir="false" afterPath="$PROJECT_DIR$/next.config.mjs" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/public/sitemap.xml" beforeDir="false" afterPath="$PROJECT_DIR$/public/sitemap.xml" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/src/app/demo111/page.tsx" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -45,39 +40,39 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
- <component name="PropertiesComponent"><![CDATA[{
- "keyToString": {
- "ASKED_ADD_EXTERNAL_FILES": "true",
- "FileHistory.git4idea.history.GitHistoryProvider_flatOrder0": "0",
- "FileHistory.git4idea.history.GitHistoryProvider_flatOrder1": "1",
- "FileHistory.git4idea.history.GitHistoryProvider_flatOrder2": "2",
- "FileHistory.git4idea.history.GitHistoryProvider_flatOrder3": "3",
- "FileHistory.git4idea.history.GitHistoryProvider_flatWidth0": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_flatWidth1": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_flatWidth2": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_flatWidth3": "449",
- "FileHistory.git4idea.history.GitHistoryProvider_treeOrder0": "0",
- "FileHistory.git4idea.history.GitHistoryProvider_treeOrder1": "1",
- "FileHistory.git4idea.history.GitHistoryProvider_treeOrder2": "2",
- "FileHistory.git4idea.history.GitHistoryProvider_treeOrder3": "3",
- "FileHistory.git4idea.history.GitHistoryProvider_treeWidth0": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_treeWidth1": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_treeWidth2": "450",
- "FileHistory.git4idea.history.GitHistoryProvider_treeWidth3": "449",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "git-widget-placeholder": "master",
- "ignore.virus.scanning.warn.message": "true",
- "last_opened_file_path": "E:/project-dev/web/艺咖/aitoearn-web/src/components",
- "node.js.detected.package.eslint": "true",
- "node.js.detected.package.tslint": "true",
- "node.js.selected.package.eslint": "(autodetect)",
- "node.js.selected.package.tslint": "(autodetect)",
- "nodejs_package_manager_path": "npm",
- "settings.editor.selected.configurable": "Code Search",
- "ts.external.directory.path": "E:\\project-dev\\web\\艺咖\\aitoearn-web\\node_modules\\typescript\\lib",
- "vue.rearranger.settings.migration": "true"
+ <component name="PropertiesComponent">{
+ &quot;keyToString&quot;: {
+ &quot;ASKED_ADD_EXTERNAL_FILES&quot;: &quot;true&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatOrder0&quot;: &quot;0&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatOrder1&quot;: &quot;1&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatOrder2&quot;: &quot;2&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatOrder3&quot;: &quot;3&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatWidth0&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatWidth1&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatWidth2&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_flatWidth3&quot;: &quot;449&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeOrder0&quot;: &quot;0&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeOrder1&quot;: &quot;1&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeOrder2&quot;: &quot;2&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeOrder3&quot;: &quot;3&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeWidth0&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeWidth1&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeWidth2&quot;: &quot;450&quot;,
+ &quot;FileHistory.git4idea.history.GitHistoryProvider_treeWidth3&quot;: &quot;449&quot;,
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
+ &quot;git-widget-placeholder&quot;: &quot;master&quot;,
+ &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
+ &quot;last_opened_file_path&quot;: &quot;E:/project-dev/web/艺咖/aitoearn-web/src/components&quot;,
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
+ &quot;settings.editor.selected.configurable&quot;: &quot;preferences.pluginManager&quot;,
+ &quot;ts.external.directory.path&quot;: &quot;E:\\project-dev\\web\\艺咖\\aitoearn-web\\node_modules\\typescript\\lib&quot;,
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}
-}]]></component>
+}</component>
<component name="ReactBuddySettings">
<option name="extensionsIgnore" value="true" />
</component>
@@ -100,7 +95,6 @@
<component name="TaskManager">
<task active="true" id="Default" summary="默认任务">
<changelist id="8ce961ad-7c9e-494c-bc53-9ecde4358af8" name="更改" comment="" />
- <changelist id="" name="选择用户弹框恢复" comment="" />
<created>1751977665735</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
@@ -116,7 +110,11 @@
<workItem from="1752498765091" duration="2121000" />
<workItem from="1752543943603" duration="2208000" />
<workItem from="1752546939831" duration="7230000" />
- <workItem from="1752567594292" duration="7739000" />
+ <workItem from="1752567594292" duration="8530000" />
+ <workItem from="1752584771781" duration="30000" />
+ <workItem from="1752584814578" duration="687000" />
+ <workItem from="1752585528140" duration="210000" />
+ <workItem from="1752631107036" duration="363000" />
</task>
<task id="LOCAL-00001" summary="feat(CalendarTiming): 优化发布记录列表展示&#10;- 调整日历记录项的样式和布局&#10;- 优化 RecordCore组件,添加平台图标和时间显示&#10;- 修改 CalendarTimingItem 组件,移除不必要的 Fragment&#10;-调整 index.tsx 中的日期格式化逻辑">
<option name="closed" value="true" />
@@ -342,7 +340,15 @@
<option name="project" value="LOCAL" />
<updated>1752571839374</updated>
</task>
- <option name="localTasksCounter" value="29" />
+ <task id="LOCAL-00029" summary="feat: 尝试多语言SEO优化,添加静态站点配置">
+ <option name="closed" value="true" />
+ <created>1752575382612</created>
+ <option name="number" value="00029" />
+ <option name="presentableId" value="LOCAL-00029" />
+ <option name="project" value="LOCAL" />
+ <updated>1752575382612</updated>
+ </task>
+ <option name="localTasksCounter" value="30" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@@ -372,19 +378,7 @@
<map>
<entry key="MAIN">
<value>
- <State>
- <option name="FILTERS">
- <map>
- <entry key="user">
- <value>
- <list>
- <option value="*" />
- </list>
- </value>
- </entry>
- </map>
- </option>
- </State>
+ <State />
</value>
</entry>
</map>
diff --git a/next.config.mjs b/next.config.mjs
index 3a9a701d..4ead21ce 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -10,11 +10,6 @@ const nextConfig = {
},
output: 'standalone',
productionBrowserSourceMaps: process.env.NEXT_PUBLIC_EVN === 'dev',
- i18n: {
- locales: ['en', 'zh-CN'],
- defaultLocale: 'en',
- localeDetection: true,
- },
};
const CorsHeaders = [
@@ -39,6 +34,7 @@ nextConfig.headers = async () => {
{
source: "/api/:path*",
headers: CorsHeaders,
+
},
];
};