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
|
if which sassc &> /dev/null; then
|
||||||
sassc public/css/styles.scss > public/css/styles.css
|
sassc public/css/styles.scss > public/css/styles.css
|
||||||
else
|
else
|
||||||
|
echo "No sassc"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -4,6 +4,7 @@ use Mojo::Base 'Mojolicious', -signatures;
|
|||||||
# This method will run once at server start
|
# This method will run once at server start
|
||||||
sub startup ($self) {
|
sub startup ($self) {
|
||||||
|
|
||||||
|
$self->config(hypnotoad => {listen => ['http://localhost:3000']});
|
||||||
# Router
|
# Router
|
||||||
my $r = $self->routes;
|
my $r = $self->routes;
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
<link rel="stylesheet" href="/css/styles.css"/>
|
<link rel="stylesheet" href="/css/styles.css"/>
|
||||||
<title><%= title %></title>
|
<title><%= title %></title>
|
||||||
<meta property="og:title" content="<%= 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"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user