Skip to content
New issue

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

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

Already on GitHub? # to your account

Gs redirect #68

Merged
merged 6 commits into from
Apr 28, 2021
Merged

Gs redirect #68

merged 6 commits into from
Apr 28, 2021

Conversation

Foorack
Copy link
Member

@Foorack Foorack commented Apr 26, 2021

See #66, reattempt except with redirects to prevent old links from breaking.

["#/ModerationAPI/Against", "#/Archive/ModerationAPI/Against"],
["#/GettingStarted", "#/GettingStarted/QuickStart"],
];
redirects.forEach(r => location.hash == r[0] ? location.hash = r[1] : {});
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RubyBB There we go, thanks for feedback! I agree declaring an array looks cleaner. 🙂

@ariesclark ariesclark requested a review from Katistic April 28, 2021 17:44
@ariesclark ariesclark merged commit 1c97aca into vrchatapi:master Apr 28, 2021
@Foorack Foorack deleted the gs-redirect branch June 13, 2021 00:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants