shirosaki-hana
c1d4b4daa3
Fix: Resolve Realm CORS Violation for Node.js Hosted Version
...
Problem:
The Node.js hosted version of RisuAI encountered an issue where it failed to fetch data from the Risu Realm server when accessed remotely.
RisuAI's frontend directly fetches data from the Realm server (e.g., sv.risuai.xyz). While the official web version did not exhibit CORS errors (potentially due to same-origin deployment or specific server-side CORS configurations), running the Node.js version on a self-hosted server and accessing it remotely resulted in browser CORS policy violations.
Solution:
The fix involves detecting when the frontend runs in the Node.js host environment.
When this environment is detected, instead of requesting Realm data directly from the external server (sv.risuai.xyz), the frontend now directs the request to a new proxy endpoint (`/hub-proxy/*`) on its own backend server.
The backend proxy then fetches the required data (including JSON and images) from the actual Realm server, correctly handles content types and compression, and relays the response back to the frontend.
This ensures that, from the browser's perspective, the frontend is communicating with its same-origin backend, effectively bypassing browser CORS restrictions and resolving the data fetching issue.
2025-04-10 17:16:21 +09:00
ModMapper
f3ba23bc59
Add Firefox Translations
2025-03-16 19:41:06 +09:00
Kwaroran
1b171cab66
Update version, gemini models, and new progress dialoge, and charxjpeg
2025-02-06 09:48:55 +09:00
Kwaroran
2ec13a4550
Modify some parts of PR
2025-01-06 00:30:33 +09:00
poroyo
8ba4417065
feat: add prompt comparison feature
2025-01-05 14:20:20 +09:00
Kwaroran
dcc48d5cb3
Add subtitle
2024-12-15 19:33:26 +09:00
kwaroran
e0f6c58540
Refactor HypaProcesser instantiation to remove hardcoded model name and add models and others
2024-12-07 00:58:09 +09:00
kwaroran
0e292bd690
aria-role fixes
2024-12-02 04:27:50 +09:00
kwaroran
5f9b79816a
Remove packageManager field from package.json
2024-11-17 23:21:00 +09:00
kwaroran
911ff7fd8b
Add compression-streams-polyfill and integrate CompressionStream support
2024-11-04 15:26:17 +09:00
kwaroran
4f41461f86
Remove cache only save
2024-11-03 22:06:07 +09:00
kwaroran
18d8bb7bab
Refactor package.json and pnpm-lock.yaml to add rfdc dependency
2024-10-26 19:58:52 +09:00
kwaroran
c7330719ad
Migrate to svelte 5
2024-10-23 02:31:37 +09:00
kwaroran
891f3e6128
Change pnpm version
2024-10-12 19:31:34 +09:00
Naki
26313c8105
Specify pnpm version
2024-10-10 05:10:38 +09:00
kwaroran
a66f1664ef
Add deep linking
2024-10-09 21:19:58 +09:00
kwaroran
5a931d4ba0
Migrate to Tauri V2
2024-10-09 20:07:59 +09:00
kwaroran
6309317945
fix nomodule error
2024-07-10 18:02:52 +09:00
kwaroran
f57cfe4543
chore: Update npm dependencies and remove unused packages
2024-07-02 06:28:05 +09:00
kwaroran
0e8e72e680
Add code block highlighting and new quote marking
2024-07-02 05:51:39 +09:00
kwaroran
f38b88e208
change markdown engine to markdown-lt
2024-07-02 05:04:37 +09:00
kwaroran
5f59349b84
chore: Update svelte and vite dependencies to specific versions
2024-06-24 01:24:56 +09:00
kwaroran
0c10d0c5bc
chore: Update svelte dependencies to specific versions
2024-06-24 01:16:03 +09:00
kwaroran
fa322f741a
change vite
2024-06-24 01:00:34 +09:00
kwaroran
b53cbba0fa
ref: replace browser color picker to svelte-awesome-color-picker
2024-06-10 02:23:13 +09:00
kwaroran
8f43728ec0
chore: Update @swc/core npm dependency to version 1.5.7
2024-05-30 16:08:37 +09:00
kwaroran
b8b00396fa
chore: Update @swc/core npm dependency to version 1.5.11
2024-05-30 16:05:46 +09:00
kwaroran
f23371c5fb
chore: Update npm dependency to latest stable version
2024-05-30 16:03:37 +09:00
kwaroran
93cba968b5
feat: add syntax highlighting
2024-05-26 08:15:45 +09:00
kwaroran
65fd56c0e4
Add character card v3 import/export
2024-05-25 09:24:35 +09:00
kwaroran
3442bbbd72
feat: Add @risuai/ccardlib dependency and update characterCards.ts
2024-05-13 00:49:52 +09:00
kwaroran
11b1d4d4f3
Replace cloneDeep to native structuredclone and remove unused import
2024-04-25 01:17:14 +09:00
kwaroran
2abd3bf15a
Add Harunai Memory
2024-04-23 22:07:44 +09:00
kwaroran
e2e7031210
Update package.json and pnpm-lock.yaml with dependency changes
2024-04-23 17:25:40 +09:00
kwaroran
c9011da053
Add Jinja based formating
2024-04-20 19:27:17 +09:00
dependabot[bot]
bc13f1762c
Bump vite from 5.0.11 to 5.0.13
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.11 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-18 04:46:02 +00:00
kwaroran
4f8477538d
add ollama package and support for ollama-hosted model
2024-04-17 21:01:56 +09:00
ModMapper
580cd3e1a7
Add CodeMirror based Highlighted editor
2024-03-23 18:41:36 +09:00
kwaroran
fbde71e271
Update dependencys
2024-03-16 19:51:45 +09:00
kwaroran
fe31610ca0
Add claude streaming & remove unused parameters
2024-03-06 22:14:24 +09:00
kwaroran
66fd70c01a
Add postfile function
2024-02-26 23:13:29 +09:00
kwaroran
cb8366ba6a
add voice.ts todo
2024-02-24 15:10:01 +09:00
kwaroran
b609793a18
Update dependencies and Vite configuration
2024-01-15 18:36:50 +09:00
kwaroran
0ca4ec3695
Add VITS support
2024-01-06 00:28:06 +09:00
kwaroran
b4272e9e69
Update @xenova/transformers to version 2.13.4
2024-01-05 23:31:03 +09:00
kwaroran
28b08d1c6c
Update msgpackr version to 1.10.1
2024-01-04 17:48:23 +09:00
kwaroran
a8e50dcd77
[feat] new pngchunk encode/decoderr
2024-01-03 04:13:19 +09:00
kwaroran
2442b287ff
[feat] android support
2024-01-01 23:14:58 +09:00
kwaroran
c250cc6214
[chore] update csstool
2023-12-03 21:17:33 +09:00
kwaroran
4f58a12b46
[feat] local backup functionality
2023-12-02 23:20:06 +09:00