Skip to content

Fixes and refactors #9

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

Lettify
Copy link

@Lettify Lettify commented May 5, 2025

This pull request includes a small change to the web/src/pages/[func].astro file. It updates the funcPair link to prepend a forward slash (/), ensuring the link resolves correctly as a relative path.

In the previous code, when clicking on the pair function, the user was redirected to a non-existent page but the URL was displayed as a page relative to the current page where the user was.

For example, I was on the /setElementHealth page, when I tried to access the pair function I went to /setElementHealth/getElementHealth.

@Lettify
Copy link
Author

Lettify commented May 5, 2025

I realized that it may be necessary (I've already added it to the function schema) to have an optional property to specify whether the function has optional parameters.

@Lettify Lettify changed the title Fix pair redirect Fixes and refactors May 5, 2025
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.

1 participant