mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 23:09:32 +02:00
Apply suggestion from @silverwind
Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -3,7 +3,7 @@ import {expect} from '@playwright/test';
|
|||||||
import type {APIRequestContext, Locator, Page} from '@playwright/test';
|
import type {APIRequestContext, Locator, Page} from '@playwright/test';
|
||||||
|
|
||||||
export function apiBaseUrl() {
|
export function apiBaseUrl() {
|
||||||
return env.E2E_URL?.replace(/\/$/g, '') || 'http://localhost:3000';
|
return env.E2E_URL?.replace(/\/$/g, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
export function apiHeaders() {
|
export function apiHeaders() {
|
||||||
|
|||||||
Reference in new issue
Block a user