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

Added redirects from /en/api/pc.* to api.playcanvas.com/classes/Engine.* #573

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

marklundin
Copy link
Member

This PR modifies the NotFound 404 page and performs a JS redirect for any route under /en/api/pc.* and routes it to the corresponding api.playcanvas.com/classes/Entity.*. Additionally this adds a declarative base redirect from /en/api -> api.playcanvas.com

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@marklundin marklundin merged commit 09f0a5a into dev Feb 6, 2024
1 check passed
@marklundin marklundin deleted the api-redirects branch February 6, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants