Commit 258b7494 authored by Neranga K.T.'s avatar Neranga K.T.

.

parent 1ea1722d
...@@ -67,7 +67,10 @@ def get_level(): ...@@ -67,7 +67,10 @@ def get_level():
# dbname = dbname + socket # dbname = dbname + socket
# app.config['SQLALCHEMY_DATABASE_URI'] = userpass + basedir + dbname # app.config['SQLALCHEMY_DATABASE_URI'] = userpass + basedir + dbname
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://sql5488870:UylH12yrME@sql5.freesqldatabase.com/sql5488870' # app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://sql5488870:UylH12yrME@sql5.freesqldatabase.com/sql5488870'
# app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://sql6506712:VUMTB3RZJi@sql6.freesqldatabase.com/sql6506712'
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
#DB Connection #DB Connection
......
export default api = 'http://192.168.74.95:5000' export default api = 'http://192.168.231.95:5000/'
\ No newline at end of file \ No newline at end of file
...@@ -9,10 +9,10 @@ import Countdown from '../../../constants/Countdown'; ...@@ -9,10 +9,10 @@ import Countdown from '../../../constants/Countdown';
const GameScreenOne = ({navigation}) => { const GameScreenOne = ({navigation}) => {
useEffect(()=>{ // useEffect(()=>{
const backHandler = BackHandler.addEventListener('hardwareBackPress', () => true) // const backHandler = BackHandler.addEventListener('hardwareBackPress', () => true)
return () => backHandler.remove() // return () => backHandler.remove()
},[]); // },[]);
const dispatch = useDispatch(); const dispatch = useDispatch();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment