Skip to content
Merged
Show file tree
Hide file tree
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
305 changes: 0 additions & 305 deletions apps/OpenSign/src/components/pdf/EmbedTab.js

This file was deleted.

8 changes: 3 additions & 5 deletions apps/OpenSign/src/constant/appinfo.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import logo from "../assets/images/logo.png";

export function serverUrl_fn() {
let baseUrl;
baseUrl = process.env.REACT_APP_SERVERURL
? process.env.REACT_APP_SERVERURL
: window.location.origin + "/app";

let baseUrl = process.env.REACT_APP_SERVERURL
? process.env.REACT_APP_SERVERURL
: window.location.origin + "/api/app";
return baseUrl;
}
export const appInfo = {
Expand Down
4 changes: 0 additions & 4 deletions apps/OpenSignServer/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ dotenv.config();

export const cloudServerUrl = 'http://localhost:8080/app';
export const appName = 'OpenSign™';
export function customAPIurl() {
const url = new URL(cloudServerUrl);
return url.pathname === '/api/app' ? url.origin + '/api' : url.origin;
}

export const color = [
'#93a3db',
Expand Down