From 1ad6b3248f788cc178162bac5919c0b0fd6f9d39 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 26 Jun 2020 14:30:48 -0700 Subject: biz: open extra port for urbit dev --- Biz/Auth.hs | 12 ++++++++++++ Biz/Dev/configuration.nix | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Biz/Auth.hs 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 -- cgit v1.2.3