Skip to content

Commit

Permalink
Refactor OpenAiChatLangs.mjs to make it easy to share with servicesta…
Browse files Browse the repository at this point in the history
…ck.net
  • Loading branch information
mythz committed Nov 29, 2024
1 parent 75aa059 commit b067600
Show file tree
Hide file tree
Showing 7 changed files with 439 additions and 379 deletions.
2 changes: 1 addition & 1 deletion AiServer/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const files = {
'@vue/shared.d.ts': '/@vue/shared@3/dist/shared.d.ts',
'@servicestack/client/index.d.ts': '/@servicestack/client/dist/index.d.ts',
'@servicestack/vue/index.d.ts': '/@servicestack/vue@3/dist/index.d.ts',
// 'marked/index.d.ts': 'https://cdn.jsdelivr.net/npm/marked/lib/marked.d.ts',
'highlight/index.d.ts': 'https://raw.githubusercontent.com/highlightjs/highlight.js/main/types/index.d.ts',
// 'marked/index.d.ts': 'https://cdn.jsdelivr.net/npm/marked/lib/marked.d.ts',
},
data: {
'prompts.md': 'https://raw.githubusercontent.com/f/awesome-chatgpt-prompts/main/README.md',
Expand Down
2 changes: 1 addition & 1 deletion AiServer/wwwroot/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@servicestack/client": "/lib/mjs/servicestack-client.mjs",
"@servicestack/vue": "/lib/mjs/servicestack-vue.mjs",
"marked": "/lib/mjs/marked.mjs",
"highlight.js": "/lib/mjs/highlight.mjs",
"highlight.mjs": "/lib/mjs/highlight.mjs",
"chart.js": "/lib/mjs/chart.js",
"color.js": "/lib/mjs/color.js",
"dtos": "/mjs/dtos.mjs",
Expand Down
1 change: 1 addition & 0 deletions AiServer/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@servicestack/client": "/lib/mjs/servicestack-client.mjs",
"@servicestack/vue": "/lib/mjs/servicestack-vue.mjs",
"chart.js": "/lib/mjs/chart.js",
"highlight.mjs": "/lib/mjs/highlight.mjs",
"dtos": "/mjs/dtos.mjs",
"core": "/js/core.mjs"
}
Expand Down
Loading

0 comments on commit b067600

Please sign in to comment.