Skip to content

Commit

Permalink
ysj
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadRestu999 committed Feb 20, 2023
1 parent 9dfc586 commit 6ccc0b5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
package-lock.json
7 changes: 4 additions & 3 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
let express = require("express");
let app = express();
let path = require("path");
const express = require("express");
const morgan = require("morgan");
const app = express();

app.use(morgan("dev"));
app.use(express.static("public"));
app.set("port", process.env.PORT || 8000);

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"homepage": "https://github.com/MuhammadRestu999/countdown-romadhon#readme",
"dependencies": {
"express": "^4.16.4"
"express": "^4.16.4",
"morgan": "^1.10.0"
}
}
8 changes: 3 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://countdown-romadhon.up.railway.app/">
<meta property="og:title" content="Countdown - Ramadhan 2023">
<meta property="og:description" content="Countdown Ramadhan 2023, Create by Restu">
<meta property="og:image" content="https://countdown-romadhon.up.railway.app/image.png">
<meta property="og:image" content="/image.png">

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://countdown-romadhon.up.railway.app/">
<meta property="twitter:title" content="Countdown - Ramadhan 2023">
<meta property="twitter:description" content="Countdown Ramadhan 2023, Create by Restu">
<meta property="twitter:image" content="https://countdown-romadhon.up.railway.app/image.png">
<meta property="twitter:image" content="/image.png">

<!-- Script -->
<script src="https://countdown-romadhon.up.railway.app/script.js" async></script>
<script src="/script.js" async></script>
</head>
<body>
<center>
Expand Down
2 changes: 1 addition & 1 deletion public/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
color: #ffffff;
background: url("https://countdown-romadhon.up.railway.app/bg.jpg");
background: url("/bg.jpg");
background-repeat: repeat;
background-size: 100%;
}
Expand Down

0 comments on commit 6ccc0b5

Please sign in to comment.