Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): fix ac & ui proxy under subpath deployment #1761

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

simeng-li
Copy link
Contributor

Summary

fix ac & ui proxy redirect logic under subpath deployment

Instead of redirecting to the root path, should read the endpoint from envSet.

Testing

test locally
@logto-io/eng

fix ac & ui procy under subpath deployment
@linear
Copy link

linear bot commented Aug 11, 2022

LOG-3808 Double check if Logto can be deployed in subpath

e.g. https://domain.com/logto

i'm worry about ui/ac routing. should do it this cycle

@github-actions
Copy link

COMPARE TO master

Total Size Diff 📈 +572 Bytes

Diff by File
Name Diff
packages/core/src/middleware/koa-root-proxy.ts 📈 +147 Bytes
packages/core/src/middleware/koa-spa-session-guard.ts 📈 +147 Bytes
packages/core/src/middleware/koa-welcome-proxy.test.ts 📈 +110 Bytes
packages/core/src/middleware/koa-welcome-proxy.ts 📈 +168 Bytes

@simeng-li simeng-li merged commit 163c23b into master Aug 15, 2022
@simeng-li simeng-li deleted the simeng-log-3808 branch August 15, 2022 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants