Skip to content

Commit 8ce69dd

Browse files
committed
set serving app back to https server
1 parent 482e8ba commit 8ce69dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ app.use(cookieParser());
3939
// statically serve everything in build folder
4040
app.use('/', express.static(path.resolve(__dirname, '../build')));
4141
app.use(
42-
'/src/public/images',
42+
'/images',
4343
express.static(path.resolve(__dirname, '..src/public/images'))
4444
);
4545

src/components/login/SignIn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const SignIn: React.FC<LoginInt & RouteComponentProps> = props => {
145145
</Button>
146146

147147
<a href="https://localhost:8080/github">
148-
<img src="../src/public/images/githublogin.png" />
148+
<img src="/images/githublogin.png" />
149149
</a>
150150
<br></br>
151151
<Grid container>

0 commit comments

Comments
 (0)