add: NEXT_PUBLIC_STOREFRONT_URL and NEXT_PUBLIC_HOMEPAGE_URL. Remove NEXT_PUBLIC_MARKETPLACE_URL.
Build & Deploy / Build & Push Docker Image (push) Failing after 1m5s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 32s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Storefront Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped

This commit is contained in:
root
2026-06-27 23:52:34 -04:00
parent a486f891cf
commit abb3a18345
17 changed files with 79 additions and 74 deletions
+3 -3
View File
@@ -37,9 +37,9 @@ function request(input: string, options: { token?: string; headers?: Record<stri
}
}
async function loadMiddleware(marketplaceUrl = 'https://market.example.com') {
async function loadMiddleware(storefrontUrl = 'https://market.example.com') {
vi.resetModules()
process.env.NEXT_PUBLIC_MARKETPLACE_URL = marketplaceUrl
process.env.NEXT_PUBLIC_STOREFRONT_URL = storefrontUrl
return import('./middleware')
}
@@ -49,7 +49,7 @@ beforeEach(() => {
})
afterEach(() => {
delete process.env.NEXT_PUBLIC_MARKETPLACE_URL
delete process.env.NEXT_PUBLIC_STOREFRONT_URL
vi.resetModules()
})