diff --git a/lib/LintConfig.hs b/lib/LintConfig.hs index a84740dc87fbe2fe6a8f78c2b2541ae8ca1e747c..b0fa3b053e5c9d2b1354b9217b65da86405621aa 100644 --- a/lib/LintConfig.hs +++ b/lib/LintConfig.hs @@ -182,9 +182,7 @@ expandWorlds config = config { configUriSchemas = configUriSchemas' } assemblysubsts = DomainSubstitution (M.fromList generated) ["map"] where generated = configAssemblies config - <&> \slug -> if slug == "lobby" - then (slug, "/_/global/raw.githubusercontent.com/c0c0bird/bridging-bubbles") - else (slug, "/_/global/maps.world.di.c3voc.de/assembly/"<>slug) + <&> \slug -> (slug, "/@/"<>configEventSlug config<>"/"<>slug) instance (FromJSON (LintConfig a)) => Argument (LintConfig a) where parseArgument str = diff --git a/lib/Properties.hs b/lib/Properties.hs index 66f817ba16f58852655621b39caaf5ab2ff24f8f..291827f11cb1532992b4f7a6bd1c37f7764b8e27 100644 --- a/lib/Properties.hs +++ b/lib/Properties.hs @@ -683,9 +683,7 @@ unwrapPath str f = case parsePath str of else complain $ "cannot acess paths \"" <> str <> "\" which is outside your repository." NotAPath -> complain $ "path \"" <> str <> "\" is invalid." AbsolutePath -> forbid "absolute paths are disallowed. Use world:// instead." - UnderscoreMapLink -> suggest "we know there's been some confusion about links; but you can \ - \still use world:// instead of /_/ (though the latter is now also \ - \allowed to keep maps working)" + UnderscoreMapLink -> forbid "map links using /_/ are disallowed. Use world:// instead." AtMapLink -> forbid "map links using /@/ are disallowed. Use world:// instead." PathVarsDisallowed -> forbid "extended API variables are not allowed in asset paths."