Skip to content

Commit

Permalink
rename api-v1.mc.org to fastapi.mc.org
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Aug 16, 2016
1 parent 7134c03 commit 5a2d1f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions metacpan_web.conf
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions root/about/faq.html
Expand Up @@ -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?

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion root/static/js/contributors.js
Expand Up @@ -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
Expand Down

0 comments on commit 5a2d1f7

Please sign in to comment.