switch to our new domain
This commit is contained in:
parent
f282e51308
commit
6376e72862
@ -448,7 +448,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;
|
||||||
@ -463,13 +464,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