src/config/api.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 16
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 8
mnd 0
bc 0
fnc 2
dl 0
loc 16
rs 10
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
1
const base = {
2
    api: function() {
3
        // let api = "http://localhost:8333";
4
        let api = "https://me-api.pamo18.me";
5
6
        return api;
7
    },
8
    chat: function() {
9
        // let url = "http://localhost:8334";
10
        let url = "https://chat-server.pamo18.me";
11
12
        return url;
13
    }
14
};
15
16
export default base;
17