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
147147
148148SSL is required for authentication to work properly.
149149
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.
151151
152152By 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.
153153
@@ -157,6 +157,7 @@ Easy way to overcome elevated permissions is to make use of:
157157
158158```
159159sudo setcap 'cap_net_bind_service=+ep' `which node`
160+ ```
160161
161162For 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.
162163
Original file line number Diff line number Diff line change 11{
22 "name" : " @topcoder-platform/platform-ui" ,
3- "version" : " 2.6 " ,
3+ "version" : " 2.0.7 " ,
44 "private" : true ,
55 "scripts" : {
66 "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
2828 return output
2929}
3030
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 > {
3732
3833 // get the profile
3934 const profileResult : UserProfile = await profileStoreGet ( handle )
4035
41- // make the changes we need based on the token
4236 const output : UserProfile = profileFactoryCreate ( profileResult )
4337 return output
4438}
You can’t perform that action at this time.
0 commit comments