mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-20 19:46:32 +08:00
chore: base url for mobile debug (#9268)
Without this PR, the login requests on mobile devices will be sent to `localhost:8080`, which is incorrect.
This commit is contained in:
@@ -33,7 +33,7 @@ export const BUILD_IN_SERVERS: (ServerMetadata & { config: ServerConfig })[] =
|
||||
? [
|
||||
{
|
||||
id: 'affine-cloud',
|
||||
baseUrl: 'http://localhost:8080',
|
||||
baseUrl: location.origin,
|
||||
config: {
|
||||
serverName: 'Affine Cloud',
|
||||
features: [
|
||||
|
||||
Reference in New Issue
Block a user