Skip to content

Commit c01f33f

Browse files
committed
- Update project for new backend
- Update support links
1 parent 4cc4af0 commit c01f33f

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [3.2.2] [12/04/2021]
4+
5+
### Updated
6+
- Update project for new backend
7+
- Update support links
8+
39
## [3.2.1]
410

511
- Fix icons animation

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "light-blue-vue",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"private": true,
55
"scripts": {
66
"start": "vue-cli-service serve --port 3000",

src/components/Helper/Helper.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
<div class="d-flex justify-content-between mt-lg">
2828
<a role="button"
2929
target="_blank"
30-
href="https://flatlogic.com/contact"
30+
href="https://flatlogic.com/forum"
3131
class="btn btn-outline-default btn-rounded-f fs-mini text-muted d-flex align-items-center">
3232
<i class="glyphicon glyphicon-headphones mr-xs mt-n-sm"></i>
3333
Support
3434
</a>
3535
<a role="button"
3636
target="_blank"
37-
href="https://github.com/flatlogic/light-blue-vue"
37+
href="https://github.com/flatlogic/light-blue-vue-admin"
3838
class="btn btn-outline-default btn-rounded-f fs-mini text-muted d-flex align-items-center">
3939
<i class="fa fa-github mr-xs"></i>
4040
Github

src/config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
const hostApi = process.env.NODE_ENV === "development" ? "http://localhost" : "https://flatlogic-node-backend.herokuapp.com";
1+
const hostApi = process.env.NODE_ENV === "development" ? "http://localhost" : "https://sing-generator-node.herokuapp.com";
22
const portApi = process.env.NODE_ENV === "development" ? 8080 : "";
3-
const baseURLApi = `${hostApi}${portApi ? `:${portApi}` : ``}`;
3+
const baseURLApi = `${hostApi}${portApi ? `:${portApi}` : ``}/api`;
4+
const redirectUrl = process.env.NODE_ENV === "development" ? "http://localhost:3000/light-blue-vue" : "https://demo.flatlogic.com/light-blue-vue/";
5+
46
const colors = {
57
blue: '#2477FF',
68
green: '#2D8515',
@@ -24,10 +26,11 @@ export default {
2426
hostApi,
2527
portApi,
2628
baseURLApi,
27-
remote: "https://flatlogic-node-backend.herokuapp.com",
29+
redirectUrl,
30+
remote: "https://sing-generator-node.herokuapp.com",
2831
isBackend: process.env.VUE_APP_BACKEND,
2932
auth: {
30-
email: 'admin@flatlogic.com',
31-
password: 'password'
33+
email: 'admin@flatlogic.com',
34+
password: 'password'
3235
}
3336
};

src/store/register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333
dispatch('requestRegister');
3434
const creds = payload.creds;
3535
if (creds.email.length > 0 && creds.password.length > 0) {
36-
axios.post("/user/signup", creds).then(() => {
36+
axios.post("/auth/signup", creds).then(() => {
3737
dispatch('receiveRegister');
3838
payload.$toasted.success("You've been registered successfully");
3939
router.push('/login');

yarn.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4791,10 +4791,6 @@ javascript-stringify@^1.6.0:
47914791
version "1.6.0"
47924792
resolved "https://registry.yarnpkg.com/javascript-stringify/-/javascript-stringify-1.6.0.tgz#142d111f3a6e3dae8f4a9afd77d45855b5a9cce3"
47934793

4794-
jquery-ui@^1.12.1:
4795-
version "1.12.1"
4796-
resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.12.1.tgz#bcb4045c8dd0539c134bc1488cdd3e768a7a9e51"
4797-
47984794
js-base64@^2.1.8:
47994795
version "2.5.1"
48004796
resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121"

0 commit comments

Comments
 (0)