Skip to content
Snippets Groups Projects
Commit 13c29d10 authored by Ashley Caselli's avatar Ashley Caselli
Browse files

fix(config): remove action server params

parent 6149c407
No related branches found
No related tags found
No related merge requests found
Pipeline #76623 passed
......@@ -3,7 +3,6 @@
The docker image is using the following default hard-coded config parameters
- `ACTION_NAME`
- `RASA_SERVER`
- `ACTION_SERVER`
## Deployment
......
{
"ACTION_NAME": "action_bonjour",
"RASA_SERVER": "http://milbot-core:5005",
"ACTION_SERVER": "http://milbot-action-server:5055"
"RASA_SERVER": "http://milbot-core:5005"
}
let ACTION_NAME = "action_bonjour";
let RASA_SERVER = "http://milbot-core:5005";
let ACTION_SERVER = "http://milbot-action-server:5055";
const SENDER_ID = uuidv4();
fetch('config.json')
......@@ -13,7 +12,6 @@ fetch('config.json')
.then(config => {
ACTION_NAME = config.ACTION_NAME;
RASA_SERVER = config.RASA_SERVER;
ACTION_SERVER = config.ACTION_SERVER;
})
.catch(error => {
console.warn('Config not found', error);
......@@ -26,9 +24,6 @@ let config = {
server_url: function () {
return RASA_SERVER;
},
action_server: function() {
return ACTION_SERVER;
},
sender_id: function () {
return SENDER_ID;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment