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

replace scotty with twain #121

Merged
merged 3 commits into from
Oct 23, 2024
Merged

replace scotty with twain #121

merged 3 commits into from
Oct 23, 2024

Conversation

Rembane
Copy link
Contributor

@Rembane Rembane commented Sep 26, 2023

See commit message! :D

This works when running `cabal run`, but I can't build it with nix,
probably because of versions.

I don't know if this version if cleaner than the one with Scotty, but
it's a bit cleaner than the previous version of this PR.
@The1Penguin
Copy link
Contributor

Updated to work today.
It is kinda equivalent to how scotty works today, but twain was last updated 2024-10-13 and scotty 2024-05-25.
Also, by declaring the routes in a list makes more sense to me rather than having them mentioned in a do block.

@The1Penguin The1Penguin merged commit 683ab60 into main Oct 23, 2024
1 check passed
@The1Penguin The1Penguin deleted the replace-scotty-with-twain branch October 23, 2024 18:49
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.

4 participants