git ssb

1+

dinoworm 🐛 / patchwork-downloader



Commit 05af45f26874f568c15a0c2c69eebba7570fdd87

fix images in deployed site

Michael Williams committed on 11/21/2017, 9:19:31 AM
Parent: 910fcd7e82741b3cfd9feec0b7eccc56b938f3d0

Files changed

index.htmlchanged
package.jsonchanged
index.htmlView
@@ -8,9 +8,9 @@
88 <link href="index.css" rel="stylesheet" type="text/css" media="screen" charset="utf-8" />
99 </head>
1010 <body>
1111 <div class="main">
12- <img src="../images/invite-letterhead.jpg" class="logo">
12 + <img src="./images/invite-letterhead.jpg" class="logo">
1313 <h1 class="title">Download Patchwork</h1>
1414 <p><em>This will download the <a class="latest">latest version from Patchwork's github page</a>.</em></p>
1515 <div class="link-box">
1616 <a class="download link-button">
package.jsonView
@@ -5,9 +5,9 @@
55 "main": "index.js",
66 "scripts": {
77 "start": "budo . -d --serve bundle.js --live",
88 "build": "browserify . -o bundle.js -g uglifyify",
9- "dist": "mkdir -p dist && bash -c 'cp *.{js,html,css} dist'",
9 + "dist": "mkdir -p dist && bash -c 'cp -r images *.{js,html,css} dist'",
1010 "push": "gh-pages -d dist",
1111 "deploy": "npm run build && npm run dist && npm run push",
1212 "test:deps": "dependency-check . && dependency-check . --extra --no-dev -i es2040",
1313 "test:lint": "standard",

Built with git-ssb-web