Skip to content

Commit

Permalink
help button
Browse files Browse the repository at this point in the history
  • Loading branch information
jap19015 committed Dec 3, 2023
1 parent c5b9743 commit fce7835
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VITE_API_SERVER_URL=http://localhost:6060
VITE_AUTH0_DOMAIN=dev-gi0zusfv0z1zvt1x.us.auth0.com
VITE_AUTH0_CLIENT_ID=clCyl1SjISWMmL2iMStXnQzHTBy44wwq
VITE_AUTH0_CALLBACK_URL=http://localhost:5173/callback
VITE_AUTH0_CALLBACK_URL=http://localhost:5173/callback, http://2102project.s3-website-us-east-1.amazonaws.com
VITE_AUTH0_AUDIENCE=https://dev-gi0zusfv0z1zvt1x.us.auth0.com/api/v2/
# VITE_API_SERVER_URL=https://fuprqaj0n4.execute-api.us-east-1.amazonaws.com/Prod
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { createAuth0 } from '@auth0/auth0-vue'

import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import router from "./router/index";

const app = createApp(App);

Expand All @@ -23,4 +23,5 @@ app
})
)

app.use(router);
app.mount("#app");
3 changes: 3 additions & 0 deletions src/views/AdminCreateCourseView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
<button type="submit" class="btn-save">Save</button>
</div>
</form>
<div class="form-group">
<a href="http://jack-s-bucket.s3-website-us-east-1.amazonaws.com" target="_blank" class="btn-help">Help</a>
</div>
</main>
</template>

Expand Down
2 changes: 2 additions & 0 deletions src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export default {
const parsedName = parsedUser._value.name;
const parsedEmail = parsedUser._value.email;
const sendUserData = async () => {
try {
const response = await axios.post('https://5ctsolryl1.execute-api.us-east-1.amazonaws.com/prod/create', {
Expand Down

0 comments on commit fce7835

Please sign in to comment.