From 7ddb740cb80a09828d666b78574b0a8aeeb15219 Mon Sep 17 00:00:00 2001 From: NB <47492535+altmshfkgudtjr@users.noreply.github.com> Date: Fri, 16 Apr 2021 23:04:48 +0900 Subject: [PATCH] Update file path --- package.json | 1 + src/components/header/Logo.tsx | 4 ++-- src/index.tsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1483cb3..cac66e9 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "lib", "README.md" ], + "homepage": "https://altmshfkgudtjr.github.io/react-epub-viewer", "repository": { "type": "git", "url": "https://github.com/altmshfkgudtjr/react-epub-viewer" diff --git a/src/components/header/Logo.tsx b/src/components/header/Logo.tsx index cb902ff..5ccfa30 100644 --- a/src/components/header/Logo.tsx +++ b/src/components/header/Logo.tsx @@ -7,10 +7,10 @@ import { mediaQuery } from 'lib/styles/media' const Logo = () => { return ( - Logo + Logo ); -} +} const Wrapper = styled.a` display: flex; diff --git a/src/index.tsx b/src/index.tsx index d9ab10d..820236d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,6 @@ import ReactDOM from 'react-dom'; import Reader from 'containers/Reader' -const EPUB_URL = "/files/Alices Adventures in Wonderland.epub"; +const EPUB_URL = "/react-epub-viewer/files/Alices Adventures in Wonderland.epub"; ReactDOM.render(, document.getElementById('root')); \ No newline at end of file