1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mobilizon_ynh.git synced 2024-09-03 19:46:19 +02:00

Patch bugged version of Mobilizon

This commit is contained in:
Thomas Parisot 2021-01-19 13:03:30 +01:00
parent af05a9d970
commit 72f46c6a4a
3 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,6 @@
SOURCE_URL=https://framagit.org/oncletom/mobilizon/-/package_files/74/download SOURCE_URL=https://framagit.org/oncletom/mobilizon/-/package_files/75/download
SOURCE_SUM=cf6cd61ecc9c146586e8e8586cb9d58c51dda88da24850df5445f0f4c3bf7e58 SOURCE_SUM=fbbd105652e1de4a7c95f3531d41b467a89bd358040ca567a6b1f5d2bb879bd7
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=mobilizon_0.0.6_amd64.tar.gz SOURCE_FILENAME=mobilizon_amd64.tar.gz

View file

@ -12,7 +12,6 @@ KillMode=process
Restart=on-failure Restart=on-failure
Environment=MIX_ENV=prod Environment=MIX_ENV=prod
Environment=PORT=__PORT__
Environment=MOBILIZON_INSTANCE_PORT=__PORT__ Environment=MOBILIZON_INSTANCE_PORT=__PORT__
Environment=MOBILIZON_INSTANCE_HOST=__DOMAIN__ Environment=MOBILIZON_INSTANCE_HOST=__DOMAIN__
Environment=MOBILIZON_INSTANCE_SECRET_KEY_BASE=__SECRET__ Environment=MOBILIZON_INSTANCE_SECRET_KEY_BASE=__SECRET__

View file

@ -0,0 +1,13 @@
diff --git a/releases/1.0.3/releases.exs b/releases/1.0.3/releases.exs
index f271c002..b4cd218c 100644
--- a/releases/1.0.3/releases.exs
+++ b/releases/1.0.3/releases.exs
@@ -5,7 +5,7 @@ import Config
config :mobilizon, Mobilizon.Web.Endpoint,
server: true,
url: [host: System.get_env("MOBILIZON_INSTANCE_HOST", "mobilizon.lan")],
- http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", 4000)],
+ http: [port: System.get_env("MOBILIZON_INSTANCE_PORT", "4000")],
secret_key_base: System.get_env("MOBILIZON_INSTANCE_SECRET_KEY_BASE", "changethis")
config :mobilizon, Mobilizon.Web.Auth.Guardian,