diff --git a/src/main/server/adapter/ceasn/ceasn.js b/src/main/server/adapter/ceasn/ceasn.js index 3e6a05a73..60b6d13f3 100644 --- a/src/main/server/adapter/ceasn/ceasn.js +++ b/src/main/server/adapter/ceasn/ceasn.js @@ -31,7 +31,7 @@ let UUID = require('pure-uuid'); async function ceasnExportUriTransform(uri, frameworkUri) { - if (ceasnExportUriPrefix == null) + if (ceasnExportUriPrefix == null || !uri) return uri; if (uri.startsWith(ceasnExportUriPrefix)) return uri;