Skip to content

Commit

Permalink
Merge pull request #78 from gnehs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
gnehs authored Sep 30, 2018
2 parents 8bba695 + 76b0299 commit 29391b9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions checkConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ const fs = require("fs-extra");

router.use(bodyParser.json());

// 首頁
router.get("/", (req, res) => {
res.send("PokaPlayer Install API");
});
router.post("/netease2", async(req, res) => {
async function netease2(config) {
const options = (url, qs = {}) => ({
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ server.listen(3000, () => {
});

//安裝頁面
if (!config) app.get("/install", (req, res) => res.render("install", { version: package.version }));
if (!config || config.PokaPlayer.debug) app.get("/install", (req, res) => res.render("install", { version: package.version }));

// 隨機圖圖
app.get("/og/og.png", (req, res) => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pokaplayer",
"version": "0.12.0",
"version": "0.12.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ header.mdui-appbar.mdui-appbar-fixed {
}


/* fab fix*/

.mdui-fab-wrapper {
bottom: 84px;
}


/* 專輯頁面檢視 */

.poka.cards {
Expand Down

0 comments on commit 29391b9

Please sign in to comment.