Skip to content

Commit

Permalink
Fixed deployment on github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-kolmak committed Apr 19, 2024
1 parent 36fb522 commit dde6203
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pincow",
"version": "0.1.0",
"private": true,
"homepage": ".",
"homepage": "https://evgeniy-kolmak.github.io/pincow/",
"dependencies": {
"@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="theme-color" content="#242424" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Приложение прогноза погоды, использующее местоположение или поиск по городу." />
<base href="/" />
<base href="." />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="icon" href="images/favicon.ico" />
Expand Down
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function App() {

const router = createBrowserRouter(
createRoutesFromElements(
<Route path='/' element={<Singlepage data={weather} />}>
<Route path='/pincow' element={<Singlepage data={weather} />}>
<Route index element={<Main />} />
<Route path='about' element={<About />} />
<Route path='forecast' element={<Forecast handleData={handleData} handleCity={handleCity} handleResponse={handleResponse} />} />
Expand Down

0 comments on commit dde6203

Please sign in to comment.