Browse files

Merge pull request #1761 from metacpan/leo/link_to_correct_api_name

rename api-v1.mc.org to fastapi.mc.org
  • Loading branch information...
2 parents 7134c03 + 5a2d1f7 commit 85175283c7a5de37e28bf7924b982101ed1bee2f @ranguard ranguard committed on GitHub Aug 16, 2016
Showing with 6 additions and 6 deletions.
  1. +2 −2 metacpan_web.conf
  2. +3 −3 root/about/faq.html
  3. +1 −1 root/static/js/contributors.js
View
4 metacpan_web.conf
@@ -3,8 +3,8 @@
name MetaCPAN::Web
default_view HTML
-api_secure = https://api-v1.metacpan.org
-api_external_secure = https://api-v1.metacpan.org
+api_secure = https://fastapi.metacpan.org
+api_external_secure = https://fastapi.metacpan.org
source_host = https://st.aticpan.org
consumer_key = metacpan.dev
cookie_secret = seekrit
View
6 root/about/faq.html
@@ -65,7 +65,7 @@
## Where can I find the API docs?
The API docs can be found [in the API repository](https://github.com/metacpan/metacpan-api/blob/master/docs/API-docs.md).
-API requests need to be sent to api-v1.metacpan.org.
+API requests need to be sent to fastapi.metacpan.org.
## How can I try the API?
@@ -101,7 +101,7 @@
To fix this:
1. Disconnect all identities
-2. Remove all cookies from `metacpan.org` and `api-v1.metacpan.org`
+2. Remove all cookies from `metacpan.org` and `fastapi.metacpan.org`
3. Reconnect via one identity
4. Connect to PAUSE
@@ -185,7 +185,7 @@
Thus it might show a different e-mail address or homepage of a user then what MetaCPAN does.
If you, as a PAUSE author would like to keep them in sync, you can always export your MetaCPAN
-account information in json format by accessing http://api-v1.metacpan.org/author/PAUSEID
+account information in json format by accessing http://fastapi.metacpan.org/author/PAUSEID
(replacing the word PAUSEID by your own PAUSEID). Then you can upload the result as author-*.json
with a higher version number than the last one you uploaded.
The PAUSE account information need to be updated manually via
View
2 root/static/js/contributors.js
@@ -82,7 +82,7 @@ $(function(){
$.ajax({
type: "POST",
- url: "https://api-v1.metacpan.org/author/",
+ url: "https://fastapi.metacpan.org/author/",
data: JSON.stringify(query),
dataType: "json",
contentType: "application/x-www-form-urlencoded; charset=UTF-8", // a lie to bypass cors

0 comments on commit 8517528

Please sign in to comment.