Hello. How should we set the configuration to allow CORS? I followed the examples in the API documentation by adding "option Cors.simpleCorsResourcePolicy" but couldn't make it work. Can anyone please show how to do it correct…
Tailwind CSS can now be used without Node (details: https://tailwindcss.com/blog/standalone-cli). Other frameworks like Phoenix and Rails already provide support for this new Node-less Tailwind, with Rails creator DHH being particulary exci…
Should I just manually add a meta tag to Web/View/Layout.hs, or is there something more idiomatic?
(An answer to that question might be useful on https://ihp.digitallyinduced.com/Guide/helpful-tips.html)
…
Command I'm running to upgrade to latest IHP:
nix-shell --run 'make -B .envrc build/ihp-lib'
Error I'm getting:
error: cycle detected in build of '/nix/store/jqfx8z69709v0mh0qg4ybiahiwzv5zlb-ghcid-0.8.7.drv' in the r…
Hi everyone,
I'm getting an issue when I try to create a post with a foreign key relationship to the users table. The user_id column has a default value of ihp_user_id().
I can create posts again when I remove the column.
This is the…
I run IHP on a mac with M1 processor so now that they're finally supported I'm getting an error when I try to update using the following command:
Command:
nix-shell --run 'make -B .envrc build/ihp-lib'
Error I'm getting
…
Hi! This might be mostly systemd related, but I'm trying to run IHP as a systemd service on a NixOS webserver, eventually on DigitalOcean for a service I am making.
Currently testing locally on my NixOS machine with a fresh IHP project.…
When I add imports to the Web.Component.Counter sample program some imports work and some do not. Imports that work include Text.Read and Data.Text. Imports that don't work include Data.Tuple.Curry and Text.XML.HXT.Arrow.Pickle. Depe…
Hello again!
I am looking for pointers on how to handle money/pricing.
Based on the stripe integration example, I represent the price of a Trip as an Integer, i.e the number of cents.
I still want the user to read and input a decimal number…