Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/translate/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict';
const nconf = require('nconf');

const translatorApi = module.exports;

const TRANSLATOR_URL = nconf.get('llm_endpoint') || 'http://localhost:5000';
const TRANSLATOR_URL = 'http://17313-team11.s3d.cmu.edu:5000' || 'http://localhost:5000';

Check failure on line 5 in src/translate/index.js

View workflow job for this annotation

GitHub Actions / test

Unexpected constant truthiness on the left-hand side of a `||` expression

translatorApi.translate = async function (postData) {
try {
Expand Down
Loading