Skip to content
Snippets Groups Projects
Verified Commit 609f6632 authored by jfriedli's avatar jfriedli
Browse files

update og base url

parent c277211e
No related branches found
No related tags found
1 merge request!364Develop
...@@ -76,6 +76,9 @@ When it's done you'll make a merge request for from your branch into the `develo ...@@ -76,6 +76,9 @@ When it's done you'll make a merge request for from your branch into the `develo
for production builds. If you use the docker environment for production builds. If you use the docker environment
this is customizable in the `docker-compose.yml` file. this is customizable in the `docker-compose.yml` file.
If none of these are set it will default to `http://localhost:5000/` (slash at the end). If none of these are set it will default to `http://localhost:5000/` (slash at the end).
To make sure the open graph tags are working you need to set the
env variable `FRONTEND_URL_PLACEHOLDER=https://matweb.info` to the domain name you're
hosting the frontend.
## Translations ## Translations
We'd love to receive any translation merge requests :). We'd love to receive any translation merge requests :).
......
...@@ -19,7 +19,7 @@ done ...@@ -19,7 +19,7 @@ done
echo "Processing index.html ..."; echo "Processing index.html ...";
cp /var/www/html/index.html /var/www/html/index.html.tmpl.html cp /var/www/html/index.html /var/www/html/index.html.tmpl.html
envsubst '$MAT_API_HOST_PLACEHOLDER' < /var/www/html/index.html.tmpl.html > /var/www/html/index.html envsubst < /var/www/html/index.html.tmpl.html > /var/www/html/index.html
rm /var/www/html/index.html.tmpl.html rm /var/www/html/index.html.tmpl.html
cat /var/www/html/index.html cat /var/www/html/index.html
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<meta name="og:title" content="MAT2 Web"> <meta name="og:title" content="MAT2 Web">
<meta name="og:description" content="Keep your data, trash your meta!"> <meta name="og:description" content="Keep your data, trash your meta!">
<meta name="og:image" content="https://0xacab.org/jfriedli/mat2-quasar-frontend/-/wikis/uploads/407da735fb90d769799254f24bd8ce1e/og.png"> <meta name="og:image" content="https://0xacab.org/jfriedli/mat2-quasar-frontend/-/wikis/uploads/407da735fb90d769799254f24bd8ce1e/og.png">
<meta name="og:url" content="/"> <meta name="og:url" content="$FRONTEND_URL_PLACEHOLDER">
<meta name="og:site_name" content="MAT2 Web"> <meta name="og:site_name" content="MAT2 Web">
<meta name="og:type" content="website"> <meta name="og:type" content="website">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment