File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
src-ts/lib/profile-provider/profile-functions Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ You will need to add the following line to your hosts file. The hosts file is no
147
147
148
148
SSL is required for authentication to work properly.
149
149
150
- The ` yarn start ` command serves the site using the cert and key in the /ssl directory, which authorize the ` https://local.topcoder-dev.com ` URL.
150
+ The ` yarn start ` command serves the site using the cert and key in the /ssl directory, which authorize the ` https://local.topcoder-dev.com ` URL.
151
151
152
152
By overriding the app to use <b >port 443</b >, you can use the authorized URL and trust the root CA to avoid SSL errors in the browser.
153
153
@@ -157,6 +157,7 @@ Easy way to overcome elevated permissions is to make use of:
157
157
158
158
```
159
159
sudo setcap 'cap_net_bind_service=+ep' `which node`
160
+ ```
160
161
161
162
For easier development, it is recommended that you add this certificate to your trusted root authorities and as a trused cert in your browser. Google your browser and OS for more info on how to trust cert authorities.
162
163
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @topcoder-platform/platform-ui" ,
3
- "version" : " 2.6 " ,
3
+ "version" : " 2.0.7 " ,
4
4
"private" : true ,
5
5
"scripts" : {
6
6
"dev" : " yarn react-app-rewired start" ,
Original file line number Diff line number Diff line change @@ -28,17 +28,11 @@ export async function getLoggedInAsync(handle?: string): Promise<UserProfile | u
28
28
return output
29
29
}
30
30
31
- export async function getPublicAsync ( handle ?: string ) : Promise < UserProfile | undefined > {
32
-
33
- // get the handle
34
- if ( ! handle ) {
35
- return Promise . resolve ( undefined )
36
- }
31
+ export async function getPublicAsync ( handle : string ) : Promise < UserProfile | undefined > {
37
32
38
33
// get the profile
39
34
const profileResult : UserProfile = await profileStoreGet ( handle )
40
35
41
- // make the changes we need based on the token
42
36
const output : UserProfile = profileFactoryCreate ( profileResult )
43
37
return output
44
38
}
You can’t perform that action at this time.
0 commit comments