Commit d64842ed authored by Deep Dey's avatar Deep Dey

chore: change server for production

parent b9452dfc
...@@ -12,4 +12,5 @@ spring.mail.host=smtp.gmail.com ...@@ -12,4 +12,5 @@ spring.mail.host=smtp.gmail.com
spring.mail.port=587 spring.mail.port=587
spring.mail.username= spring.mail.username=
spring.mail.password= spring.mail.password=
lamartin.static.resources.root.path=D:/WEBSOFTTECHS/webomagic/data lamartin.static.resources.root.path=D:/WEBSOFTTECHS/webomagic/data
\ No newline at end of file lamartin.static.server.path=http://localhost:8084/webomagic-lamartin/
\ No newline at end of file
...@@ -4,4 +4,4 @@ server.port=8084 ...@@ -4,4 +4,4 @@ server.port=8084
logging.level.org.springframework=DEBUG logging.level.org.springframework=DEBUG
logging.level.com.example=DEBUG logging.level.com.example=DEBUG
# application.properties # application.properties
spring.profiles.active=prod spring.profiles.active=dev
\ No newline at end of file \ No newline at end of file
const BASE_URL = 'http://127.0.0.1:5000/webomagic-user/v1'; const BASE_URL = 'http://iitkgp.websofttechs.com:5011/webomagic-user/v1';
const BASE_URL_LAMARTIN = 'http://localhost:8084/webomagic-lamartin'; const BASE_URL_LAMARTIN = 'http://iitkgp.websofttechs.com:8084/webomagic-lamartin';
\ No newline at end of file \ No newline at end of file
...@@ -189,7 +189,7 @@ $(document).ready(function () { ...@@ -189,7 +189,7 @@ $(document).ready(function () {
$.ajax({ $.ajax({
// TODO: move the url to a constant file // TODO: move the url to a constant file
url: 'http://localhost:8084/webomagic-lamartin/admission-form/submit', url: 'http://iitkgp.websofttechs.com:8084/webomagic-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