1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Fix(#1391): fix edge case URLs in code samples (#2078)

This commit is contained in:
Thomas Heartman 2022-09-21 11:24:25 +02:00 committed by GitHub
parent 0a99dfd6e3
commit d7b2874afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,9 @@ const options = {
from: [
/\/ushosted/g,
/"https:\/\/us.app.unleash-hosted.com(\/ushosted)?"/g,
'"path":["ushosted","api"',
'"path":["ushosted",',
],
to: ['', '"<your-unleash-url>"', '"path":["api"'],
to: ['', '"<your-unleash-url>"', '"path":['],
};
replace(options);