Skip to content

Commit

Permalink
Fix baseHref for github docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
jannicz committed Aug 15, 2018
1 parent 6460765 commit d0eae31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"baseHref" : "/ng-svg-icon-sprite/",
"deployUrl": "/ng-svg-icon-sprite/",
"outputPath": "docs",
"index": "src/index.html",
"main": "src/main.ts",
Expand Down
5 changes: 2 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
<head>
<meta charset="utf-8">
<title>SVG Icon Sprite Development</title>
<base href="/">

<base href="/ng-svg-icon-sprite/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
<script type="text/javascript" src="runtime.js"></script><script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="styles.js"></script><script type="text/javascript" src="vendor.js"></script><script type="text/javascript" src="main.js"></script></body>
<script type="text/javascript" src="/ng-svg-icon-sprite/runtime.js"></script><script type="text/javascript" src="/ng-svg-icon-sprite/polyfills.js"></script><script type="text/javascript" src="/ng-svg-icon-sprite/styles.js"></script><script type="text/javascript" src="/ng-svg-icon-sprite/vendor.js"></script><script type="text/javascript" src="/ng-svg-icon-sprite/main.js"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/runtime.js

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

2 changes: 1 addition & 1 deletion docs/runtime.js.map

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

0 comments on commit d0eae31

Please sign in to comment.