Skip to content

Commit

Permalink
Fix/change horde api url (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick committed May 9, 2024
1 parent 38ce9ef commit e410f39
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion srv/api/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type PostReq = {
body: any
}

const baseUrl = `https://stablehorde.net/api/v2`
const baseUrl = `https://aihorde.net/api/v2`

export const PY_URL = 'http://localhost:5001'

Expand Down
4 changes: 2 additions & 2 deletions web/pages/Settings/AISettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ const ApiAccessHelp = neat`
1. Select your \`API Access Preset\`: This preset will be used for your API calls.
2. Generate your API Key.
3. Use the API URL \`https://agnai.chat\` and your generated API key.
3. Use the API URL \`https://api.agnai.chat\` and your generated API key.
*SillyTavern*: Use _Ooba_ or _Aphrodite_
*SillyTavern*: Use _Ooba_ as the backend
`
2 changes: 1 addition & 1 deletion web/pages/Settings/components/HordeAISettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const HordeAISettings: Component<{
<span>
Leave blank to use guest account. Visit{' '}
<a class="link" href="https://aihorde.net" target="_blank">
stablehorde.net
aihorde.net
</a>{' '}
to register.
</span>
Expand Down
2 changes: 1 addition & 1 deletion web/store/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export type SettingState = {
overlay: boolean
}

const HORDE_URL = `https://stablehorde.net/api/v2`
const HORDE_URL = `https://aihorde.net/api/v2`

const FLAG_KEY = 'agnai-flags'

Expand Down

0 comments on commit e410f39

Please sign in to comment.