diff options
author | Ben Sima <ben@bsima.me> | 2020-06-26 14:30:48 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-06-26 14:30:48 -0700 |
commit | 1ad6b3248f788cc178162bac5919c0b0fd6f9d39 (patch) | |
tree | 528baffd7371df0e74b95ac872cadc40236d0b50 /Biz | |
parent | b2312126dd60050c2cebe4ec09b39569d08685e8 (diff) |
biz: open extra port for urbit dev
Diffstat (limited to 'Biz')
-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 |