mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-03-30 11:16:35 +00:00
refactor!: serve the static frontend trough the backend (#520)
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import axios from 'axios';
|
||||
import playwrightConfig from '../../playwright.config';
|
||||
|
||||
export async function cleanupBackend() {
|
||||
await axios.post('http://localhost/api/test/reset');
|
||||
await axios.post(playwrightConfig.use!.baseURL + '/api/test/reset');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user