Commit bf27d882 authored by Deep Dey's avatar Deep Dey

chore: update consts

parent 4e393d6f
const BASE_URL = 'http://iitkgp.websofttechs.com:5011/webomagic-user/v1'; const BASE_URL = 'http://adm.lamartiniere.co/webomagic-user/v1';
const BASE_URL_LAMARTIN = 'http://iitkgp.websofttechs.com:8084/webomagic-lamartin'; const BASE_URL_LAMARTIN = 'http://adm.lamartiniere.co/webomagic-lamartin';
\ No newline at end of file \ No newline at end of file
const BASE_URL_LAMARTIN = 'http://adm.lamartiniere.co/webomagic-lamartin';
\ No newline at end of file
...@@ -422,6 +422,7 @@ ...@@ -422,6 +422,7 @@
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.5/dist/jquery.validate.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="./constant.js"></script>
<script src="./main.js"></script> <script src="./main.js"></script>
</body> </body>
......
...@@ -249,7 +249,7 @@ $(document).ready(function () { ...@@ -249,7 +249,7 @@ $(document).ready(function () {
$.ajax({ $.ajax({
// TODO: move the url to a constant file // TODO: move the url to a constant file
url: 'http://iitkgp.websofttechs.com:8084/webomagic-lamartin/admission-form/submit', url: BASE_URL_LAMARTIN + '/admission-form/submit',
type: 'POST', type: 'POST',
data: formData, data: formData,
processData: false, processData: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment