diff --git a/config/config.exs b/config/config.exs index 07e8a5871..9f75a3205 100644 --- a/config/config.exs +++ b/config/config.exs @@ -48,7 +48,8 @@ config :mobilizon, Mobilizon.Web.Endpoint, secret_key_base: "1yOazsoE0Wqu4kXk3uC5gu3jDbShOimTCzyFL3OjCdBmOXMyHX87Qmf3+Tu9s0iM", render_errors: [view: Mobilizon.Web.ErrorView, accepts: ~w(html json)], pubsub_server: Mobilizon.PubSub, - cache_static_manifest: "priv/static/manifest.json" + cache_static_manifest: "priv/static/manifest.json", + has_reverse_proxy: true # Upload configuration config :mobilizon, Mobilizon.Web.Upload, diff --git a/js/package.json b/js/package.json index 6f5a2b51e..a53fee11b 100644 --- a/js/package.json +++ b/js/package.json @@ -58,15 +58,15 @@ "@types/leaflet": "^1.5.2", "@types/leaflet.locatecontrol": "^0.60.7", "@types/lodash": "^4.14.141", - "@types/mocha": "^5.2.4", + "@types/mocha": "^8.0.3", "@types/ngeohash": "^0.6.2", "@types/prosemirror-inputrules": "^1.0.2", "@types/prosemirror-model": "^1.7.2", "@types/prosemirror-state": "^1.2.4", "@types/prosemirror-view": "^1.11.4", "@types/vuedraggable": "^2.23.0", - "@typescript-eslint/eslint-plugin": "^2.26.0", - "@typescript-eslint/parser": "^2.26.0", + "@typescript-eslint/eslint-plugin": "^3.10.1", + "@typescript-eslint/parser": "^3.10.1", "@vue/cli-plugin-babel": "~4.5.4", "@vue/cli-plugin-e2e-cypress": "~4.5.4", "@vue/cli-plugin-eslint": "~4.5.4", @@ -78,20 +78,20 @@ "@vue/eslint-config-airbnb": "^5.0.2", "@vue/eslint-config-prettier": "^6.0.0", "@vue/eslint-config-typescript": "^5.0.2", - "@vue/test-utils": "1.0.3", + "@vue/test-utils": "1.0.4", "chai": "^4.1.2", - "eslint": "^6.7.2", + "eslint": "^7.7.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-vue": "^6.2.2", - "graphql-cli": "^3.0.12", + "graphql-cli": "^4.0.0", "node-sass": "^4.12.0", - "prettier": "2.0.5", - "prettier-eslint": "^10.1.1", - "sass-loader": "^8.0.2", - "typescript": "~3.9.3", - "vue-cli-plugin-styleguidist": "~4.31.0", + "prettier": "2.1.1", + "prettier-eslint": "^11.0.0", + "sass-loader": "^10.0.1", + "typescript": "~4.0.2", + "vue-cli-plugin-styleguidist": "~4.31.1", "vue-cli-plugin-svg": "~0.1.3", "vue-i18n-extract": "^1.0.2", "vue-template-compiler": "^2.6.11", diff --git a/js/src/components/Account/ActorCard.vue b/js/src/components/Account/ActorCard.vue index 32eb19f61..b5fbe5ee9 100644 --- a/js/src/components/Account/ActorCard.vue +++ b/js/src/components/Account/ActorCard.vue @@ -1,6 +1,6 @@