-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
profile-prod.yml
45 lines (37 loc) · 2.19 KB
/
profile-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 2020 the .NET Foundation
# Licensed under the MIT License
# A prefix to prepend to paths for static assets (i.e. virtually everything!)
# associated with this webclient instantiation. On the production server, we
# want to make it Go Faster by routing requests to such assets through the
# CDN. On development servers, we want references to these items to be
# relative URLs for testing flexibility.
webclient_static_assets_url_prefix: //web.wwtassets.org/webclient/
# A prefix to prepend to paths for links to the "user website", which will look
# like "/Download" before prefixing. On the production server, we're being
# served from /webclient/ and they're in the root, so:
userweb_url_prefix: ..
# A prefix to prepend to paths for links to the WWT Communities, which will look
# like "/Resource" before prefixing. On the production server, the Communities
# and "user website" are both in the same place, but in testing we might split
# them out.
communities_url_prefix: ..
# A URL prefix for "core static" data files, which are unchanging data served
# up by the classic flagship website. These should be routed through the CDN
# in production.
core_static_url_prefix: //cdn.worldwidetelescope.org/
# The URL prefix for finding the Web engine. In production, we want to route
# this through the CDN. In development we want to use the testing version or
# perhaps even a local hacked version.
webgl_engine_url_prefix: //web.wwtassets.org/engine/7
# This string gets munged into CSS and JS references to potentially referenced
# minified versions ("foo.min.js") instead of un-minified ("foo.js").
maybe_min: '.min'
# The client id of the Microsoft Live OAuth application client associated with
# this web client. Note that this is *not* a secret.
microsoft_live_oauth_app_id: '000000004015657B'
# The "redirection URL" of the OAuth client -- this is the location that the
# OAuth provider will send the user's browser to after successful auth.
# When registering an OAuth app, you specify a list of specific allowed
# redirection URLs. It is important to use the domain without the `www.`
# prefix to make sure that the cookie gets set for the root.
microsoft_live_oauth_redir_url: 'http://worldwidetelescope.org/webclient'