Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix service

Mike McGann5ea1c977299a
diff --git a/rpm/httpd.conf b/rpm/httpd.conf
index 9827e26ad..2c2b45aa0 100644
--- a/rpm/httpd.conf
+++ b/rpm/httpd.conf
@@ -10,6 +10,6 @@ AddHandler cgi-script .cgi
AddHandler cgi-script .cgi
-<Directory /usr/share/@WORLDVIEW@/web/service>
+<Directory /usr/share/worldview/service>
Options ExecCGI
</Directory>
diff --git a/web/service/link/shorten.cgi b/web/service/link/shorten.cgi
index b0752bf23..0a744c9e3 100755
--- a/web/service/link/shorten.cgi
+++ b/web/service/link/shorten.cgi
@@ -150,7 +150,7 @@ if __name__ == '__main__':
"""
options = parse_options()
try:
- key_path = os.path.join("..", "..", "..", "etc", "bitly.json")
+ key_path = os.path.join("..", "..", "etc", "bitly.json")
with open(key_path) as fp:
config = json.load(fp)
login = config["login"]