Changed API_URL from http to https

This commit is contained in:
ireic
2020-01-25 22:07:34 +01:00
parent a0ccc9b59b
commit 96959d0ce6
3 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
<div align="center">Auto formatted with Prettier, tested with Cypress 🎗</div>
<h3 align="center">
<a href="http://jira.ivorreic.com/">Visit the live app</a> |
<a href="https://jira.ivorreic.com/">Visit the live app</a> |
<a href="https://github.com/oldboyxx/jira_clone/tree/master/client">View client</a> |
<a href="https://github.com/oldboyxx/jira_clone/tree/master/api">View API</a>
</h3>
@@ -68,7 +68,7 @@ Not all components have properly defined [aria attributes](https://developer.moz
### Unit/Integration tests 🧪
Both Client and API are currently tested by through [end-to-end Cypress tests](https://github.com/oldboyxx/jira_clone/tree/master/client/cypress/integration). That's good enough for a relatively simple application such as this, even if it was a real product. However, as the app grows in complexity, it might be wise to start writing additional unit/integration tests.
Both Client and API are currently tested through [end-to-end Cypress tests](https://github.com/oldboyxx/jira_clone/tree/master/client/cypress/integration). That's good enough for a relatively simple application such as this, even if it was a real product. However, as the app grows in complexity, it might be wise to start writing additional unit/integration tests.
### Author: Ivor Reic ✍️
@@ -78,7 +78,7 @@ Both Client and API are currently tested by through [end-to-end Cypress tests](h
<hr>
<h4>
<a href="http://jira.ivorreic.com/">Visit the live app</a> |
<a href="https://jira.ivorreic.com/">Visit the live app</a> |
<a href="https://github.com/oldboyxx/jira_clone/tree/master/client">View client</a> |
<a href="https://github.com/oldboyxx/jira_clone/tree/master/api">View API</a>
</h4>

View File

@@ -195,7 +195,7 @@ const createGuestAccount = async (): Promise<User> => {
const project = await seedProject(users);
const issues = await seedIssues(project);
await seedComments(issues, project.users);
return users[0];
return users[2];
};
export default createGuestAccount;

View File

@@ -61,7 +61,7 @@ module.exports = {
new webpack.DefinePlugin({
'process.env': {
NODE_ENV: JSON.stringify('production'),
API_URL: JSON.stringify('http://jira-api.ivorreic.com'),
API_URL: JSON.stringify('https://jira-api.ivorreic.com'),
},
}),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),