0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-22 13:15:23 +01:00

Apply suggestion from @silverwind

Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind 2026-02-16 04:22:28 +01:00
parent 08a92e5859
commit 5fcdd8589f
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -3,7 +3,7 @@ import {expect} from '@playwright/test';
import type {APIRequestContext, Locator, Page} from '@playwright/test';
export function apiBaseUrl() {
return env.E2E_URL?.replace(/\/$/g, '') || 'http://localhost:3000';
return env.E2E_URL?.replace(/\/$/g, '');
}
export function apiHeaders() {