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',
|
id: 'affine-cloud',
|
||||||
baseUrl: 'http://localhost:8080',
|
baseUrl: location.origin,
|
||||||
config: {
|
config: {
|
||||||
serverName: 'Affine Cloud',
|
serverName: 'Affine Cloud',
|
||||||
features: [
|
features: [
|
||||||
|
|||||||
Reference in New Issue
Block a user