wiki-plugin-linkitylink 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server/server.js +11 -11
package/package.json
CHANGED
package/server/server.js
CHANGED
|
@@ -20,25 +20,25 @@ function loadWikiConfig() {
|
|
|
20
20
|
const ownerData = JSON.parse(fs.readFileSync(ownerPath, 'utf8'));
|
|
21
21
|
|
|
22
22
|
// Extract base URLs from owner.json
|
|
23
|
-
// Default to
|
|
23
|
+
// Default to dev allyabase if not specified
|
|
24
24
|
return {
|
|
25
|
-
fountURL: ownerData.fountURL || '
|
|
26
|
-
bdoURL: ownerData.bdoURL || '
|
|
27
|
-
addieURL: ownerData.addieURL || '
|
|
25
|
+
fountURL: ownerData.fountURL || 'https://dev.fount.allyabase.com',
|
|
26
|
+
bdoURL: ownerData.bdoURL || 'https://dev.bdo.allyabase.com',
|
|
27
|
+
addieURL: ownerData.addieURL || 'https://dev.addie.allyabase.com'
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
console.warn('[wiki-plugin-linkitylink] No owner.json found, using
|
|
30
|
+
console.warn('[wiki-plugin-linkitylink] No owner.json found, using dev allyabase defaults');
|
|
31
31
|
return {
|
|
32
|
-
fountURL: '
|
|
33
|
-
bdoURL: '
|
|
34
|
-
addieURL: '
|
|
32
|
+
fountURL: 'https://dev.fount.allyabase.com',
|
|
33
|
+
bdoURL: 'https://dev.bdo.allyabase.com',
|
|
34
|
+
addieURL: 'https://dev.addie.allyabase.com'
|
|
35
35
|
};
|
|
36
36
|
} catch (err) {
|
|
37
37
|
console.error('[wiki-plugin-linkitylink] Error loading wiki config:', err);
|
|
38
38
|
return {
|
|
39
|
-
fountURL: '
|
|
40
|
-
bdoURL: '
|
|
41
|
-
addieURL: '
|
|
39
|
+
fountURL: 'https://dev.fount.allyabase.com',
|
|
40
|
+
bdoURL: 'https://dev.bdo.allyabase.com',
|
|
41
|
+
addieURL: 'https://dev.addie.allyabase.com'
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
}
|