Unverified Commit 46a3e8eb authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

migrating to labs.etsi.org/rep

parent 04bc8eff
Pipeline #311 passed with stage
in 27 seconds
......@@ -62,7 +62,7 @@ public class SAREF {
public final static String LICENSE = "https://forge.etsi.org/etsi-software-license";
public final static String PUBLISHER = "https://www.etsi.org/";
public static final String SAREF_PORTAL_STATIC_GIT = "https://forge.etsi.org/rep/SAREF/saref-portal.git";
public static final String SAREF_PORTAL_STATIC_GIT = "https://labs.etsi.org/rep/saref/saref-portal.git";
public static final String LOGGER_BASE = "SAREF Pipeline: ";
public static final String NAME_SITE = "site";
......
......@@ -202,7 +202,7 @@ public class SiteManager extends SAREFErrorLogger {
public void generateHtaccess() {
File htaccess = new File(siteDir, ".htaccess");
try (FileWriter writer = new FileWriter(htaccess)) {
writer.write("RewriteRule ^sources/(.*)$ https://forge.etsi.org/rep/SAREF/$1 [R=302]\n\n");
writer.write("RewriteRule ^sources/(.*)$ https://labs.etsi.org/rep/saref/$1 [R=302]\n\n");
writer.write(
"Header set Content-disposition \"expr=attachement; filename=%{resp:Content-Location}\" \"expr=%{resp:Content-Location} =~ /.(rdf|nt|n3)$/\"\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment