Multiple fixes for og and proxy behaviour.

This commit is contained in:
sergiotarxz 2022-11-09 22:31:41 +01:00
parent 773b60b8cf
commit 9d7e575427
3 changed files with 4 additions and 0 deletions

View File

@ -3,5 +3,6 @@
if which sassc &> /dev/null; then
sassc public/css/styles.scss > public/css/styles.css
else
echo "No sassc"
exit 1
fi

View File

@ -4,6 +4,7 @@ use Mojo::Base 'Mojolicious', -signatures;
# This method will run once at server start
sub startup ($self) {
$self->config(hypnotoad => {listen => ['http://localhost:3000']});
# Router
my $r = $self->routes;

View File

@ -5,6 +5,8 @@
<link rel="stylesheet" href="/css/styles.css"/>
<title><%= title %></title>
<meta property="og:title" content="<%= title %>"/>
<meta property="og:site_name" content="Burguillos.info" />
<meta property="og:image" content="https://burguillos.info/img/burguillos.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>