mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix readme files
This commit is contained in:
@@ -6,12 +6,15 @@ Install:
|
||||
npm install
|
||||
```
|
||||
|
||||
Set authentication token value in the `index.html`
|
||||
Update host and credentials
|
||||
|
||||
```html
|
||||
<script>
|
||||
localStorage.setItem('token', '<AUTH-TOKEN>');
|
||||
</script>
|
||||
**src/main.ts**
|
||||
```ts
|
||||
login() {
|
||||
let host = 'http://192.168.99.100:8080';
|
||||
let credentials = { "userId": "admin", "password": "admin" };
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
Run the project:
|
||||
|
@@ -6,17 +6,6 @@ Install:
|
||||
npm install
|
||||
```
|
||||
|
||||
Update host and credentials
|
||||
|
||||
**src/main.ts**
|
||||
```ts
|
||||
login() {
|
||||
let host = 'http://192.168.99.100:8080';
|
||||
let credentials = { "userId": "admin", "password": "admin" };
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
Run the project:
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user