Skip to content

Commit fbfded2

Browse files
committed
refactor: replace www.lua by lua everywhere
1 parent f8b4c84 commit fbfded2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LuaInstaller.Core/LuaWebsite.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public static class LuaWebsite
1717
private const double MAX_BASE = 2.3;
1818
private const int MAX_RETRIES = 3;
1919

20-
private const string LUA_DOWNLOAD_URL = "https://www.lua.org/ftp";
20+
private const string LUA_DOWNLOAD_URL = "https://lua.org/ftp/";
2121
private static readonly HttpClient _client;
2222
private static readonly LuaVersion[] _empty;
2323

@@ -29,7 +29,7 @@ static LuaWebsite()
2929

3030
private static string GetDownloadUrlForLuaVersion(LuaVersion version)
3131
{
32-
return string.Format("{0}/lua-{1}.tar.gz", LUA_DOWNLOAD_URL, version.Version);
32+
return string.Format("{0}lua-{1}.tar.gz", LUA_DOWNLOAD_URL, version.Version);
3333
}
3434

3535
private static int GenerateRandomInt32()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Overview
99

10-
The toolset available here aids in the process to download, build and install Lua versions on Windows, downloading Lua source code directly from [https://www.lua.org](https://www.lua.org).
10+
The toolset available here aids in the process to download, build and install Lua versions on Windows, downloading Lua source code directly from [https://lua.org](https://lua.org).
1111

1212
> [!NOTE]
1313
>

0 commit comments

Comments
 (0)