Compare commits

..

No commits in common. "5ab54478ac4711bc55a44c61158e6cbe86bfef21" and "1ad9ae206506cd065160329c57651c6d37248a8e" have entirely different histories.

7 changed files with 9 additions and 30 deletions

View File

@ -2,7 +2,6 @@ FROM ruby:3.1
# Move it # Move it
WORKDIR /opt WORKDIR /opt
COPY config/ ./config/
COPY public/ ./public/ COPY public/ ./public/
COPY views/ ./views/ COPY views/ ./views/
COPY Gemfile . COPY Gemfile .
@ -18,4 +17,4 @@ RUN bundle install
EXPOSE 4567 EXPOSE 4567
# Send it # Send it
CMD ["bundle", "exec", "puma", "-e", "production"] CMD ["bundle", "exec", "puma", "-p", "4567", "-t", "2", "-e", "production"]

View File

@ -7,13 +7,13 @@ GEM
puma (5.6.2) puma (5.6.2)
nio4r (~> 2.0) nio4r (~> 2.0)
rack (2.2.3) rack (2.2.3)
rack-protection (2.2.0) rack-protection (2.1.0)
rack rack
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
sinatra (2.2.0) sinatra (2.1.0)
mustermann (~> 1.0) mustermann (~> 1.0)
rack (~> 2.2) rack (~> 2.2)
rack-protection (= 2.2.0) rack-protection (= 2.1.0)
tilt (~> 2.0) tilt (~> 2.0)
tilt (2.0.10) tilt (2.0.10)

View File

@ -1,2 +0,0 @@
threads(0, `nproc`.chomp.to_i || 5)
port 4567

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -94,12 +94,12 @@ html, body {
#video { #video {
background-image: url('/willpower.gif'); background-image: url('/willpower.gif');
background-position: center; background-position: center;
background-repeat: repeat; background-repeat: no-repeat;
background-size: contain; background-size: cover;
height: 100%; height: 100%;
width: 100%; width: 100%;
z-index: 255; z-index: 255;
position: fixed; position: absolute;
display: none; display: none;
} }

View File

@ -1,21 +1,3 @@
<!--
###### ###### ####### ####### ### ######
# # # # # # # # # #
# # # # # # # # # #
###### ###### # # # # ######
# # # # # # # #
# # # # # # # #
# # # ####### # ### #
================================================
You can append any path you want, e.g.:
http://mywillpower.org/blog
http://mywillpower.org/religion/prayer.php
It will always return the same thing 😎
-->
<div class="modal box"> <div class="modal box">
<h1>Notice:</h1> <h1>Notice:</h1>
<h2>This website uses cookies.</h2> <h2>This website uses cookies.</h2>

View File

@ -8,14 +8,14 @@
content="One man's journey to summon his own calm from within."> content="One man's journey to summon his own calm from within.">
<meta property="og:url" content="https://www.mywillpower.org"> <meta property="og:url" content="https://www.mywillpower.org">
<meta property="og:site_name" content="My Willpower"> <meta property="og:site_name" content="My Willpower">
<meta property="og:image" content="https://www.mywillpower.org/tip.jpg"> <meta property="og:image" content="http://www.mywillpower.org/tip.jpg">
<meta property="og:image:alt" <meta property="og:image:alt"
content="A man standing on the summit of a mountain with his arms content="A man standing on the summit of a mountain with his arms
outstretched above his head."> outstretched above his head.">
<meta name="twitter:card" content="summary_large_image"> <meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="My Willpower"> <meta name="twitter:title" content="My Willpower">
<meta name="twitter:description" content="One man's journey."> <meta name="twitter:description" content="One man's journey.">
<meta name="twitter:image" content="https://www.mywillpower.org/tip.jpg"> <meta name="twitter:image" content="http://www.mywillpower.org/tip.jpg">
<meta name="twitter:image:alt" <meta name="twitter:image:alt"
content="A man standing on the summit of a mountain with his arms content="A man standing on the summit of a mountain with his arms
outstretched above his head."> outstretched above his head.">