Skip to content

Commit

Permalink
feat: add more information about proxy in setting section google tran…
Browse files Browse the repository at this point in the history
…slate
  • Loading branch information
Richie-Z committed Mar 25, 2024
1 parent ec68d5a commit eb9ebde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/SettingsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function SettingModal() {
defaultValue={translate.corsProxy ?? ''}
/>
</div>
<p className="description">Must be filled, Google Translate API blocked by CORS if not have proxy</p>
<p className="description">Must be filled, Google Translate API blocked by CORS if not have proxy.<a href='https://github.com/Richie-Z/romajin/issues/1#issuecomment-2017152225'> Read this issue </a></p>
</div>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/services/setting.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { TranslateSettingModel } from "@/models/TranslateSettingModel"
const DEFAULT_GOOGLE_TRANSLATE_SETTING: TranslateSettingModel = {
active: true,
targetLanguage: 'en',
corsProxy: 'http://localhost:8080/'
corsProxy: ''
}

const DEFAULT_KUROSHIRO_SETTING: KuroshiroSettingModel = {
Expand Down

0 comments on commit eb9ebde

Please sign in to comment.