mirror of
https://github.com/pionxzh/chatgpt-exporter.git
synced 2026-07-23 09:00:51 -05:00
fix: drop oaifree.com support and update description
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
"title": "ChatGPT Exporter",
|
||||
"title:zh-CN": "ChatGPT Exporter",
|
||||
"title:zh-TW": "ChatGPT Exporter",
|
||||
"description": "Easily export the whole ChatGPT conversation history for further analysis or sharing.",
|
||||
"description:zh-CN": "轻松导出 ChatGPT 聊天记录,以便进一步分析或分享。",
|
||||
"description:zh-TW": "輕鬆匯出 ChatGPT 聊天紀錄,以便進一步分析或分享。",
|
||||
"description": "Export ChatGPT conversations with one click — backup & share effortlessly!",
|
||||
"description:zh-CN": "一键导出 ChatGPT 对话,轻松备份与分享",
|
||||
"description:zh-TW": "一鍵導出 ChatGPT 對話,輕鬆備份與分享",
|
||||
"author": "pionxzh",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
const API_MAPPING: Record<string, string> = {
|
||||
'https://chat.openai.com': 'https://chat.openai.com/backend-api',
|
||||
'https://chatgpt.com': 'https://chatgpt.com/backend-api',
|
||||
'https://new.oaifree.com': 'https://new.oaifree.com/backend-api',
|
||||
}
|
||||
|
||||
// export const baseUrl = 'https://chat.openai.com'
|
||||
export const baseUrl = new URL(location.href).origin
|
||||
export const apiUrl = API_MAPPING[baseUrl]
|
||||
|
||||
export const KEY_LANGUAGE = 'exporter:language'
|
||||
export const KEY_FILENAME_FORMAT = 'exporter:filename_format'
|
||||
// export const KEY_OFFICIAL_JSON_FORMAT = 'exporter:official_json_format'
|
||||
export const KEY_TIMESTAMP_ENABLED = 'exporter:enable_timestamp'
|
||||
export const KEY_TIMESTAMP_24H = 'exporter:timestamp_24h'
|
||||
export const KEY_TIMESTAMP_MARKDOWN = 'exporter:timestamp_markdown'
|
||||
|
||||
@@ -54,17 +54,8 @@ export default defineConfig({
|
||||
'https://chatgpt.com/gpts/*',
|
||||
'https://chatgpt.com/share/*',
|
||||
'https://chatgpt.com/share/*/continue',
|
||||
|
||||
'https://new.oaifree.com/',
|
||||
'https://new.oaifree.com/?model=*',
|
||||
'https://new.oaifree.com/c/*',
|
||||
'https://new.oaifree.com/g/*',
|
||||
'https://new.oaifree.com/gpts',
|
||||
'https://new.oaifree.com/gpts/*',
|
||||
'https://new.oaifree.com/share/*',
|
||||
'https://new.oaifree.com/share/*/continue',
|
||||
],
|
||||
'icon': 'https://chat.openai.com/favicon.ico',
|
||||
'icon': 'https://chatgpt.com/favicon.ico',
|
||||
'run-at': 'document-end',
|
||||
},
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user