Skip to content

Fix registration routing and add SQLite launcher - #318

Open
skorotkiewicz wants to merge 2 commits into
vlang:masterfrom
skorotkiewicz:fix/registration-sqlite-launcher
Open

skorotkiewicz wants to merge 2 commits into
vlang:masterfrom
skorotkiewicz:fix/registration-sqlite-launcher

Conversation

@skorotkiewicz

Copy link
Copy Markdown

GET /register can be intercepted by /:username and return 404. Move the registration handler before the username wildcard and add a regression check that verifies the form before and after the first account is created.

Add run-sqlite.sh and update run.sh to build only when the executable is missing. Both launchers forward arguments and stop if the build fails.

Validation:

  • v -d use_openssl run tests/first_run.v passed.
  • V formatting and shell syntax checks passed.
  • Launcher checks passed for missing and existing binaries, argument forwarding, and build failure handling.

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