mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 14:30:29 +03:00 
			
		
		
		
	Updated dependencies and build instructions
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
		
							parent
							
								
									a83aecaa69
								
							
						
					
					
						commit
						6c5a29fb48
					
				
					 5 changed files with 446 additions and 4832 deletions
				
			
		| 
						 | 
				
			
			@ -51,6 +51,10 @@ navigating to `http://localhost:8080`.
 | 
			
		|||
 | 
			
		||||
Alternatively you can just pull the [DockerHub image](https://hub.docker.com/r/ajbura/cinny) by `docker pull ajbura/cinny`.
 | 
			
		||||
 | 
			
		||||
### Configuring default Homeserver
 | 
			
		||||
 | 
			
		||||
To set default Homeserver on login and register page, place a customized [`config.json`](config.json) in webroot of your choice.
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2021 Ajay Bura (ajbura) and other contributors
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										5265
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										5265
									
								
								package-lock.json
									
										
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "start": "webpack serve --config ./webpack.dev.js --open",
 | 
			
		||||
    "build": "export NODE_OPTIONS=--openssl-legacy-provider; webpack --config ./webpack.prod.js"
 | 
			
		||||
    "build": "webpack --config ./webpack.prod.js"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [],
 | 
			
		||||
  "author": "Ajay Bura",
 | 
			
		||||
| 
						 | 
				
			
			@ -72,9 +72,9 @@
 | 
			
		|||
    "stream-browserify": "^3.0.0",
 | 
			
		||||
    "style-loader": "^2.0.0",
 | 
			
		||||
    "util": "^0.12.4",
 | 
			
		||||
    "webpack": "^5.28.0",
 | 
			
		||||
    "webpack": "^5.62.1",
 | 
			
		||||
    "webpack-cli": "^4.5.0",
 | 
			
		||||
    "webpack-dev-server": "^3.11.2",
 | 
			
		||||
    "webpack-dev-server": "^4.4.0",
 | 
			
		||||
    "webpack-merge": "^5.7.3"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ function SSOButtons({ type, identityProviders, baseUrl }) {
 | 
			
		|||
          idp.icon
 | 
			
		||||
            ? (
 | 
			
		||||
              <button key={idp.id} type="button" className="sso-btn" onClick={() => handleClick(idp.id)}>
 | 
			
		||||
                <img className="sso-btn__img" src={tempClient.mxcUrlToHttp(idp.icon, 36, 36, 'crop')} alt={idp.name} />
 | 
			
		||||
                <img className="sso-btn__img" src={tempClient.mxcUrlToHttp(idp.icon)} alt={idp.name} />
 | 
			
		||||
              </button>
 | 
			
		||||
            ) : <Button key={idp.id} className="sso-btn__text-only" onClick={() => handleClick(idp.id)}>{`Login with ${idp.name}`}</Button>
 | 
			
		||||
        ))}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,6 +40,7 @@ module.exports = merge(common, {
 | 
			
		|||
      patterns: [
 | 
			
		||||
        { from: 'olm.wasm' },
 | 
			
		||||
        { from: '_redirects' },
 | 
			
		||||
        { from: 'config.json' },
 | 
			
		||||
      ],
 | 
			
		||||
    }),
 | 
			
		||||
  ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue