switch to our new domain
Co-Authored-By: Kilian von Pflugk <github@jumoog.io>
This commit is contained in:
parent
3fc11c7e02
commit
c43ad03635
@ -406,7 +406,8 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
|||||||
List<string> oldRepos = new List<string>
|
List<string> oldRepos = new List<string>
|
||||||
{
|
{
|
||||||
"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;
|
||||||
@ -421,13 +422,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