flaschengeist-frontend/src/plugins/routes.js

59 lines
1.8 KiB
JavaScript
Raw Normal View History

2020-01-18 11:49:49 +00:00
//const main = 'https://192.168.5.128:5000/'
2020-02-27 21:19:31 +00:00
//const main = 'http://localhost:5000/'
const main = 'http://192.168.5.118:5000/'
//const main = 'https://groeger-clan.duckdns.org:5000/'
const url = {
2020-01-14 21:01:24 +00:00
login: main + 'login',
2020-02-27 20:54:28 +00:00
pricelist: main + 'pricelist',
getTypes: main + 'drinkTypes',
2020-01-14 21:01:24 +00:00
getFinanzerMain: main + 'getFinanzerMain',
bar: main + 'bar',
barGetUser: main + 'barGetUser',
barAddAmount: main + 'baradd',
finanzerAddAmount: main + 'finanzerAddAmount',
finanzerAddCredit: main + 'finanzerAddCredit',
searchUser: main + 'search',
getAllUser: main + 'barGetUsers',
lockUser: main + 'finanzerLock',
finanzerSetConfig: main + 'finanzerSetConfig',
finanzerAddUser: main + 'finanzerAddUser',
finanzerSendAllMail: main + 'finanzerSendAllMail',
2020-01-17 00:01:10 +00:00
finanzerSendOneMail: main + 'finanzerSendOneMail',
userMain: main + 'user/main',
2020-01-19 20:31:48 +00:00
userAddAmount: main + 'user/addAmount',
vorstand: {
sm: {
addUser: main + 'sm/addUser',
deleteUser: main + 'sm/deleteUser',
2020-02-24 11:19:13 +00:00
getUser: main + 'sm/getUser',
lockDay: main + 'sm/lockDay'
2020-01-19 20:31:48 +00:00
}
},
user: {
config: main + 'user/saveConfig',
2020-02-23 21:32:31 +00:00
job: main + 'user/job',
addJob: main + 'user/addJob',
deleteJob: main + 'user/deleteJob',
transactJob: main + 'user/transactJob',
answerTransactJob: main + 'user/answerTransactJob',
jobRequests: main + 'user/jobRequests',
getTransactJobs: main + 'user/getTransactJobs',
deleteTransactJobs: main + 'user/deleteTransactJob',
storno: main + 'user/storno'
},
barU: {
storno: main + 'bar/storno'
},
gastro: {
setDrink: main + 'gastro/setDrink',
updateDrink: main + 'gastro/updateDrink',
deleteDrink: main + 'gastro/deleteDrink',
setType: main + 'gastro/setDrinkType',
updateType: main + 'gastro/updateDrinkType',
deleteType: main + 'gastro/deleteDrinkType'
2020-01-19 20:31:48 +00:00
}
2020-01-14 21:01:24 +00:00
}
2020-01-14 21:01:24 +00:00
export default url