Skip to content
Snippets Groups Projects
Commit e4b0ae39 authored by stuebinm's avatar stuebinm
Browse files

Revert "linter: link hackery for divoc fallback"

This reverts commit f116e648.
parent f124e337
Branches
No related tags found
No related merge requests found
......@@ -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 =
......
......@@ -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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment