diff options
-rw-r--r-- | Biz/Auth.hs | 12 | ||||
-rw-r--r-- | Biz/Dev/configuration.nix | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/Biz/Auth.hs b/Biz/Auth.hs new file mode 100644 index 0000000..ce2a716 --- /dev/null +++ b/Biz/Auth.hs @@ -0,0 +1,12 @@ +module Biz.Auth where + +import Data.ByteString (ByteString) +import Data.Text (Text) +import Miso.String + +data Error + = BadUsername + | BadPassword + +type Password = MisoString +type Username = MisoString diff --git a/Biz/Dev/configuration.nix b/Biz/Dev/configuration.nix index aeac46e..401615a 100644 --- a/Biz/Dev/configuration.nix +++ b/Biz/Dev/configuration.nix @@ -11,7 +11,8 @@ in { firewall = { allowedTCPPorts = [ - 22 8000 8443 443 8080 8081 # standard ports + 22 8000 8443 443 # standard ports + 8080 8081 8082 # mostly for urbit 500 10000 # no idea 8096 # emby/jellyfin 8112 # deluge |