Skip to content

Commit

Permalink
fixed links
Browse files Browse the repository at this point in the history
  • Loading branch information
NoryiE committed May 4, 2024
1 parent 03b000d commit d125936
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineConfig({
lang: 'en-US',
lastUpdated: true,
base: "/basalt-docs/",
srcExclude: ["**/getBasalt.lua"],

head: [
//[
Expand Down
2 changes: 1 addition & 1 deletion getBasalt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end

local function getConfig()
if(config==nil)then
local github = settings.get("basalt.github") or "https://raw.githubusercontent.com/Pyroxenium/Basalt/basalt2/"
local github = "https://raw.githubusercontent.com/Pyroxenium/basalt-docs/main/"
if(github~=nil)then
local url = github.."config.json"
local response = http.get(url)
Expand Down
2 changes: 1 addition & 1 deletion install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function installer.getConfig(key)
if(config~=nil)then
return config[key]
end
local file = http.get(githubPath.."config.json")
local file = "https://raw.githubusercontent.com/Pyroxenium/basalt-docs/main/config.json"
if(file == nil) then
error("Failed to download the Basalt config file")
end
Expand Down

0 comments on commit d125936

Please sign in to comment.