switch to our new domain
This commit is contained in:
parent
4d7dbf7f0f
commit
45d9e4b632
@ -447,7 +447,8 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|||||||
List<string> oldRepos =
|
List<string> oldRepos =
|
||||||
[
|
[
|
||||||
"https://raw.githubusercontent.com/intro-skipper/intro-skipper/master/manifest.json",
|
"https://raw.githubusercontent.com/intro-skipper/intro-skipper/master/manifest.json",
|
||||||
"https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json"
|
"https://raw.githubusercontent.com/jumoog/intro-skipper/master/manifest.json",
|
||||||
|
"https://manifest.intro-skipper.workers.dev/manifest.json"
|
||||||
];
|
];
|
||||||
// Access the current server configuration
|
// Access the current server configuration
|
||||||
var config = serverConfiguration.Configuration;
|
var config = serverConfiguration.Configuration;
|
||||||
@ -462,13 +463,13 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|||||||
pluginRepositories.RemoveAll(repo => repo != null && repo.Url != null && oldRepos.Contains(repo.Url));
|
pluginRepositories.RemoveAll(repo => repo != null && repo.Url != null && oldRepos.Contains(repo.Url));
|
||||||
|
|
||||||
// Add repository only if it does not exit
|
// Add repository only if it does not exit
|
||||||
if (!pluginRepositories.Exists(repo => repo.Url == "https://manifest.intro-skipper.workers.dev/manifest.json"))
|
if (!pluginRepositories.Exists(repo => repo.Url == "https://manifest.intro-skipper.org/manifest.json"))
|
||||||
{
|
{
|
||||||
// Add the new repository to the list
|
// Add the new repository to the list
|
||||||
pluginRepositories.Add(new RepositoryInfo
|
pluginRepositories.Add(new RepositoryInfo
|
||||||
{
|
{
|
||||||
Name = "intro skipper (automatically migrated by plugin)",
|
Name = "intro skipper (automatically migrated by plugin)",
|
||||||
Url = "https://manifest.intro-skipper.workers.dev/manifest.json",
|
Url = "https://manifest.intro-skipper.org/manifest.json",
|
||||||
Enabled = true,
|
Enabled = true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user