-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from italia/url-param
Editor will import publiccodes by their remote url
- Loading branch information
Showing
5 changed files
with
93 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
let {REPOSITORY, ELASTIC_URL, VALIDATOR_URL} = process.env; | ||
let {REPOSITORY, ELASTIC_URL, VALIDATOR_URL, VALIDATOR_REMOTE_URL} = process.env; | ||
|
||
export const privacyPolicyUrl = `https://developers.italia.it/it/privacy-policy/`; | ||
export const repositoryUrl = `https://docs.italia.it/italia/developers-italia/publiccodeyml/it/master/`; | ||
export const versionsUrl = `https://api.github.com/repos/${REPOSITORY}/contents/version`; | ||
export const sampleUrl = `https://raw.githubusercontent.com/italia/publiccode.yml/master/docs/it/example/publiccode.minimal.yml`; | ||
export const sampleUrl = `https://raw.githubusercontent.com/italia/pc-web-validator/master/tests/valid.minimal.yml`; | ||
export const elasticUrl = ELASTIC_URL || ''; | ||
export const validatorUrl = VALIDATOR_URL || ''; | ||
export const validatorRemoteUrl = VALIDATOR_REMOTE_URL || ''; | ||
export const APP_FORM = "appForm"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters