✨ feat: configurable api - #252
Conversation
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
alexcui03
left a comment
There was a problem hiding this comment.
additionally, useScratchOfficialApi should be true by default
since clipcc is primarily aimed at Chinese users, and the official api is inaccessible in China, is using the official source by default a good idea? |
same with #253, the editor itself shouldn't assume the running environment. for community's editor or a specific platform, it is ok to override the settings by default, through external json config or by other ways. however the editor itself should behave as scratch, we just provide a way to change api. |
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Deploying clipcc-preview with
|
| Latest commit: |
0241096
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://97e599a8.clipcc-preview.pages.dev |
| Branch Preview URL: | https://feat-configurable-api.clipcc-preview.pages.dev |
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
Signed-off-by: SimonShiki <sinangentoo@gmail.com>
alexcui03
left a comment
There was a problem hiding this comment.
gltm. in the future, we may consider to migrate these settings into extensions.
Description
Made TTS/translate service's api entrypoint configurable.
Proposed Changes
trampoline.simonshiki.top, to bypass cors and region network limits.Test Coverage
None
Additional Context