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:
parent
08a92e5859
commit
5fcdd8589f
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user