Skip to content

Commit

Permalink
Anvil App Server v1.5.4
Browse files Browse the repository at this point in the history
Changes:
* Fix regression in default email hostname

Based-on: anvil cd90469d78974ee2683cf3fabbaad18234b1daa8
  • Loading branch information
meredydd committed Jun 18, 2021
1 parent f89ba5c commit c9c1142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/app-server/setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup,find_packages
setup(
name="anvil-app-server",
version="1.5.3",
version="1.5.4",
packages=find_packages(),
install_requires=["pychrome", "anvil-uplink==0.3.36", "progressbar2", "wheel", "psutil", "pgcli"],

Expand Down
2 changes: 1 addition & 1 deletion server/app-server/src/anvil/app_server/conf.clj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

(defn set-config! [conf]
(reset! config (-> (merge DEFAULTS conf)
(update-in [:hostname] #(or % (second (re-matches #".*://([^/:]+).*" (str (:origin config)))) "localhost"))
(update-in [:hostname] #(or % (second (re-matches #".*://([^/:]+).*" (str (:origin conf)))) "localhost"))
(update-in [:app-path] #(or % "."))))

(assert (:database conf))
Expand Down

0 comments on commit c9c1142

Please sign in to comment.