Multiple fixes for og and proxy behaviour.
This commit is contained in:
parent
773b60b8cf
commit
9d7e575427
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user