Skip to content

Commit 4d18a23

Browse files
author
elgris
committed
Fix reading ZIPKIN_URL from env for todos-api
1 parent a47efa9 commit 4d18a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

todos-api/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const express = require('express')
33
const bodyParser = require("body-parser")
44
const jwt = require('express-jwt')
55

6-
const ZIPKIN_URL = process.env.ZIPKIN_ADDRESS || 'http://127.0.0.1:9411/api/v2/spans';
6+
const ZIPKIN_URL = process.env.ZIPKIN_URL || 'http://127.0.0.1:9411/api/v2/spans';
77
const {Tracer,
88
BatchRecorder,
99
jsonEncoder: {JSON_V2}} = require('zipkin');

0 commit comments

Comments
 (0)