File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3
3
# The default URL for build content is https://develop.moodle.org.
4
4
# For local development you may wish to specify an alternative for your own environment.
5
5
#
6
- # url =http://localhost
7
- # url =https://develop.moodle.org
6
+ # URL =http://localhost
7
+ # URL =https://moodledev.io
8
8
9
9
# Base URL
10
10
# ========
14
14
# For example, if you have your content hosted locally at http://localhost/devdocs Then the baseUrl would be `devdocs`.
15
15
# The default value is `/`.
16
16
#
17
- # baseUrl =/devdocs/
18
- # baseUrl =/
17
+ # BASEURL =/devdocs/
18
+ # BASEURL =/
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ const getBaseUrl = () => {
44
44
return '/' ;
45
45
}
46
46
47
- if ( typeof process . env . baseUrl !== 'undefined' ) {
47
+ if ( typeof process . env . BASEURL !== 'undefined' ) {
48
48
// Respect the env.
49
- return process . env . baseUrl ;
49
+ return process . env . BASEURL ;
50
50
}
51
51
52
52
// Default is currently '/devdocs'.
@@ -57,9 +57,9 @@ const getBaseUrl = () => {
57
57
const config = {
58
58
title : 'Moodle' ,
59
59
tagline : '(Un)official Developer Resources' ,
60
- // eslint-disable-next-line spaced-comment
60
+
61
61
// url: 'https://develop.moodle.org',
62
- url : process . env ?. url || 'https://moodle.github .io' ,
62
+ url : process . env ?. URL || 'https://moodledev .io' ,
63
63
baseUrl : getBaseUrl ( ) ,
64
64
trailingSlash : false ,
65
65
onBrokenLinks : 'throw' ,
You can’t perform that action at this time.
0 commit comments