Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Two more DIGITS_URL_PREFIX bug fixes #1891

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions digits/extensions/view/imageSegmentation/header_template.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{# Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. #}

<script type="text/javascript" src="/extension-static/view/image-segmentation/js/app.js"></script>
<link rel="stylesheet" href="/extension-static/view/image-segmentation/css/app.css">
<script type="text/javascript" src="{{config['URL_PREFIX']}}/extension-static/view/image-segmentation/js/app.js"></script>
<link rel="stylesheet" href="{{config['URL_PREFIX']}}/extension-static/view/image-segmentation/css/app.css">
2 changes: 1 addition & 1 deletion digits/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@

window.onload = function () {
$('.autocomplete_path').autocomplete({
serviceUrl: '/autocomplete/path',
serviceUrl: '{{config['URL_PREFIX']}}/autocomplete/path',
formatResult: function (suggestion, currentValue)
{
function baseName(str)
Expand Down