mirror of
https://github.com/utterance/utterances.git
synced 2024-10-26 07:41:43 +03:00
switch to azure
This commit is contained in:
parent
906af26bf1
commit
040bd28bd4
@ -8,8 +8,6 @@ A lightweight comments widget using GitHub issues.
|
||||
* Styled with [Primer](http://primercss.io/), the css toolkit that powers GitHub. :art:
|
||||
* 9 KB gzipped. Vanilla TypeScript. No font downloads or script dependencies. :shipit:
|
||||
|
||||
> :construction: *4/30/2017 - utterances is under active development and is not ready for production use.*
|
||||
|
||||
## how it works
|
||||
|
||||
Utterances runs in an iframe. Upon load, the GitHub [issue search API](https://developer.github.com/v3/search/#search-issues) is used to find the issue associated with the page based on `url`, `pathname` or `title`. The issue's comments are displayed in the familiar GitHub style.
|
||||
|
@ -5,7 +5,8 @@ const GITHUB_API = 'https://api.github.com/';
|
||||
const GITHUB_ENCODING__HTML_JSON = 'application/vnd.github.VERSION.html+json';
|
||||
const GITHUB_ENCODING__HTML = 'application/vnd.github.VERSION.html';
|
||||
const GITHUB_ENCODING__REACTIONS_PREVIEW = 'application/vnd.github.squirrel-girl-preview';
|
||||
const UTTERANCES_API = 'https://utterances-oauth.herokuapp.com';
|
||||
// const UTTERANCES_API = 'https://utterances-oauth.herokuapp.com';
|
||||
const UTTERANCES_API = 'https://utterances-oauth.azurewebsites.net';
|
||||
|
||||
const PAGE_SIZE = 100;
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
import { param, deparam } from './deparam';
|
||||
|
||||
const authorizeUri = 'https://github.com/login/oauth/authorize';
|
||||
const tokenUri = 'https://utterances-oauth.herokuapp.com/access-token';
|
||||
// const tokenUri = 'https://utterances-oauth.herokuapp.com/access-token';
|
||||
const tokenUri = 'https://utterances-oauth.azurewebsites.net/access-token';
|
||||
// tslint:disable-next-line:variable-name
|
||||
const redirect_uri = 'https://utteranc.es/authorized.html';
|
||||
// tslint:disable-next-line:variable-name
|
||||
|
Loading…
Reference in New Issue
Block a user