Skip to content

Commit c766e16

Browse files
committed
Fix blank page error
Change gsoc-prep-tasks to git-task-list Add PATH_PREFIX env variable to set path prefix Fixes #32
1 parent e706d74 commit c766e16

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
{{content-for "head"}}
1111

1212
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
13-
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/gsoc-prep-tasks.css">
13+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/git-task-list.css">
1414

1515
{{content-for "head-footer"}}
1616
</head>
1717
<body>
1818
{{content-for "body"}}
1919

2020
<script src="{{rootURL}}assets/vendor.js"></script>
21-
<script src="{{rootURL}}assets/gsoc-prep-tasks.js"></script>
21+
<script src="{{rootURL}}assets/git-task-list.js"></script>
2222

2323
{{content-for "body-footer"}}
2424
</body>

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "gsoc-prep-tasks",
2+
"name": "git-task-list",
33
"dependencies": {
44
"highlightjs": "^9.10.0",
55
"showdown": "^1.6.4",

config/environment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function(environment) {
2020
environment: environment,
2121
locationType: 'auto',
2222

23-
modulePrefix: 'gsoc-prep-tasks',
23+
modulePrefix: 'git-task-list',
2424
rootURL: '/',
2525
showdown: {
2626
simplifiedAutoLink: true
@@ -49,7 +49,7 @@ module.exports = function(environment) {
4949

5050
if (environment === 'production') {
5151
ENV.locationType = 'hash';
52-
ENV.rootURL = ENV.rootURL + ENV.modulePrefix;
52+
ENV.rootURL = ENV.rootURL + (process.env.PATH_PREFIX || '');
5353
}
5454

5555
return ENV;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "gsoc-prep-tasks",
2+
"name": "git-task-list",
33
"version": "0.0.0",
44
"private": true,
55
"description": "Small description for gsoc-prep-tasks goes here",

tests/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{content-for "test-head"}}
1212

1313
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
14-
<link rel="stylesheet" href="{{rootURL}}assets/gsoc-prep-tasks.css">
14+
<link rel="stylesheet" href="{{rootURL}}assets/git-task-list.css">
1515
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
1616

1717
{{content-for "head-footer"}}
@@ -24,7 +24,7 @@
2424
<script src="/testem.js" integrity=""></script>
2525
<script src="{{rootURL}}assets/vendor.js"></script>
2626
<script src="{{rootURL}}assets/test-support.js"></script>
27-
<script src="{{rootURL}}assets/gsoc-prep-tasks.js"></script>
27+
<script src="{{rootURL}}assets/git-task-list.js"></script>
2828
<script src="{{rootURL}}assets/tests.js"></script>
2929

3030
{{content-for "body-footer"}}

0 commit comments

Comments
 (0)