Skip to content

Commit

Permalink
Fix auto-injected meta
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Nov 25, 2020
1 parent 58bb428 commit 9b95997
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function getType(effectName) {
if (
effectName === "TrainPoints" ||
effectName === "BuildPoints" ||
effectName.startsWith("Convert") || // TODO conversion rate should be named conversion time (display like in-game or not?)
effectName.startsWith("Convert") ||
effectName.startsWith("Chaos")
) {
return "time" // ends with "s"
Expand Down
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<meta name="msapplication-square150x150logo" content="/assets/meta/favicon-150.png">
<meta name="msapplication-square310x310logo" content="/assets/meta/favicon-310.png">
<meta name="msapplication-starturl" content="/">
<meta name="msapplication-TileColor" content="#fff">

<!-- Social Media Integration -->
<meta property="og:site_name" content="Age of Empires Online Unit Builder">
Expand Down
1 change: 0 additions & 1 deletion src/components/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export default {
const effect = this.upgrades[i]
this.applyEffect(effect, stats)
}
// TODO filter advisors, milestones and upgrades if not applied
return stats
}
},
Expand Down
12 changes: 12 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,17 @@ module.exports = {
priority: 1.0
}
}
},
pwa: {
name: "Unit Builder - Age of Empires Online",
iconPaths: {
favicon32: null, // TODO proper PWA icons
favicon16: null,
appleTouchIcon: null,
maskIcon: null,
msTileImage: "assets/meta/favicon-144.png"
},
themeColor: "#488489",
msTileColor: "488489"
}
}

0 comments on commit 9b95997

Please sign in to comment.