kopia lustrzana https://github.com/snarfed/bridgy-fed
				
				
				
			
		
			
				
	
	
		
			13 wiersze
		
	
	
		
			370 B
		
	
	
	
		
			Python
		
	
	
			
		
		
	
	
			13 wiersze
		
	
	
		
			370 B
		
	
	
	
		
			Python
		
	
	
| """Bridgy Fed user-facing app invoked by gunicorn in app.yaml.
 | |
| 
 | |
| Import all modules that define views in the app so that their URL routes get
 | |
| registered.
 | |
| """
 | |
| from flask_app import app
 | |
| 
 | |
| # import all modules to register their Flask handlers
 | |
| import activitypub, atproto, convert, follow, pages, redirect, ui, webfinger, web
 | |
| 
 | |
| import models
 | |
| models.reset_protocol_properties()
 |