Skip to content

Commit c61a079

Browse files
committed
callback html 추가
1 parent f9088c2 commit c61a079

File tree

3 files changed

+88
-2
lines changed

3 files changed

+88
-2
lines changed

docs/callback.html

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
---
2+
---
3+
<!doctype html>
4+
<html>
5+
<head>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width">
8+
<title>Editor</title>
9+
<meta name="description" content="Editor for Tistory 는 Tistory의 API를 사용하여 티스토리에 글을 작성하고 작성한 글을 관리하는 목적으로 만들고 있습니다.">
10+
11+
<meta property="og:type" content="website">
12+
<meta property="og:site_name" content="Editor for Tistory">
13+
<meta property="og:image" content="https://joostory.github.io/tistory-editor/image/icon.png">
14+
<meta property="og:url" content="https://tistory-editor.tistory.com">
15+
<meta property="fb:pages" content="249179408451592" />
16+
<meta property="fb:app_id" content="1436306029941116" />
17+
<meta property="og:title" content="Editor for Tistory">
18+
<meta property="og:description" content="Editor for Tistory 는 Tistory의 API를 사용하여 티스토리에 글을 작성하고 작성한 글을 관리하는 목적으로 만들고 있습니다.">
19+
20+
<meta name="twitter:card" content="summary_large_image">
21+
<meta name="twitter:site" content="@JooStory">
22+
<meta name="twitter:creator" content="@JooStory">
23+
<meta name="twitter:title" content="Editor for Tistory">
24+
<meta name="twitter:description" content="Editor for Tistory 는 Tistory의 API를 사용하여 티스토리에 글을 작성하고 작성한 글을 관리하는 목적으로 만들고 있습니다.">
25+
<meta name="twitter:image" content="https://joostory.github.io/tistory-editor/image/icon.png">
26+
27+
<link rel="canonical" href="https://tistory-editor.tistory.com">
28+
<style>
29+
.container {
30+
position: fixed;
31+
top:0; bottom:0;
32+
left:0; right:0;
33+
}
34+
.title {
35+
position: fixed;
36+
left: 50%;
37+
top: 50%;
38+
transform: translate(-50%, -50%);
39+
border-bottom: 2px solid #666;
40+
}
41+
.title-text {
42+
margin: 0 5px;
43+
font-size: 64px;
44+
}
45+
.loading { visibility: hidden; }
46+
47+
.bounce-animation {
48+
animation: bounce 1s;
49+
animation-iteration-count: infinite;
50+
}
51+
52+
.rotate-animation {
53+
animation: rotate 3s;
54+
animation-iteration-count: infinite;
55+
}
56+
57+
@keyframes bounce {
58+
from {transform: translateY(0%);}
59+
10% {transform: translateY(-20%);}
60+
50% {transform: translateY(-30%);}
61+
90% {transform: translateY(-20%);}
62+
to {transform: translateY(0%);}
63+
}
64+
@keyframes rotate {
65+
from {transform: rotate(0)}
66+
45% {transform: rotate(0);}
67+
50% {transform: rotate(360deg);}
68+
to {transform: rotate(360deg)}
69+
}
70+
</style>
71+
</head>
72+
<body>
73+
<div class="container">
74+
<div class="title">
75+
<div class="rotate-animation">
76+
<div class="bounce-animation">
77+
<h1 class="title-text">Editor</h1>
78+
</div>
79+
</div>
80+
81+
</div>
82+
83+
<div class="loading">로딩중</div>
84+
</div>
85+
</body>
86+
</html>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8">
77
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width">
8-
<title>Editor for Tistory</title>
8+
<title>Editor</title>
99
<meta name="description" content="Editor for Tistory 는 Tistory의 API를 사용하여 티스토리에 글을 작성하고 작성한 글을 관리하는 목적으로 만들고 있습니다.">
1010

1111
<meta property="og:type" content="website">

src/main/oauth/ElectronOauth2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function (oauthInfo, windowParams, tokenMethod = 'POST') {
2424
opts = opts || {};
2525

2626
if (!oauthInfo.redirectUri) {
27-
oauthInfo.redirectUri = 'urn:ietf:wg:oauth:2.0:oob';
27+
oauthInfo.redirectUri = 'https://joostory.github.io/tistory-editor/callback.html';
2828
}
2929

3030
var urlParams = {

0 commit comments

Comments
 (0)