Skip to content

Conversation

@biw
Copy link
Owner

@biw biw commented Mar 17, 2021

When search parameters are present in the URL that Electron sends to Nuts:
For example:
http://localhost:4000/myApp/update/win32/1.0.0/RELEASES?arch=amd64

The app name is being omitted:
http://localhost:4000/download/1.1.0/my-app-1.1.0-full.nupkg

Expected Result:
http://localhost:4000/myApp/download/1.1.0/my-app-1.1.0-full.nupkg

resolves #150

From GitbookIO/nuts#159

@biw biw changed the title Strip down search params before parsing URL Fix for RELEASES URLs not containing the app name when using Nuts as an Express middleware Mar 17, 2021
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.

RELEASES file generated with incorrect URLs when Nuts middleware is used on a path other than '/' in express and called with query parameters

2 participants