Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunolike committed Jan 20, 2023
2 parents ab56550 + e4c4ce9 commit fd4c89a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<div align=center>
<p align="middle">
<a href="https://hits.seeyoufarm.com"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgh.neting.cc%2Fhyunolike%2Fvanillajs-based-spa&count_bg=%23FEAE00&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false"/></a>
</p>
<img width="492" alt="image" src="https://user-images.githubusercontent.com/61215550/211837370-b446d5c0-3aad-4e88-a771-11ba23d98a44.png">

<h2> VanillaJS ๋กœ SPA๋ฅผ ๊ตฌํ˜„ํ•˜์ž! </h2>
๋ฐฐํฌ ๋งํฌ
<br>

<p align="middle"><a href="#">๋ฐฐํฌ ๋งํฌ</a></p>
<p align="middle"><a href="https://hyunolike.github.io/%20retrospect/">ํšŒ๊ณ ๋ก</a></p>
<br>
<strong>ํ•ด๋‹น ๋ ˆํฌ์ง€ํ† ๋ฆฌ</strong>๋Š” React, Vue ํ”„๋ ˆ์ž„์›Œํฌ์— ์‚ฌ์šฉ๋˜๋Š”
<br>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/detail.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default () => {
divElement.innerHTML = views;

const postId = localStorage.getItem('postId');
const API_URL = 'http://43.201.103.199/post/' + postId;
const API_URL = 'https://27.96.131.49/post/' + postId;

Axios.get(API_URL, {
headers: {'Content-Security-Policy': 'upgrade-insecure-requests'},
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/home.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default () => {
divElement.classList = "home-section";
divElement.innerHTML = views;

const API_URL = 'http://43.201.103.199/posts';
const API_URL = 'https://27.96.131.49/posts';

Axios.get(API_URL).then((res) => {
let posts = res.data.data.posts;
Expand Down

0 comments on commit fd4c89a

Please sign in to comment.